Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005685/0.005685, allocations: 95.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 197.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002415/0.002415, allocations: 283 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 178.6 MB / 0.5074 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 94.94 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4585, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.2088/0.6674, allocations: 188.4 MB / 0.9653 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009358/0.6768, allocations: 6.084 MB / 0.9713 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.6779, allocations: 35.81 kB / 0.9713 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.6793, allocations: 0.5048 MB / 0.9718 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.6839, allocations: 1.902 MB / 0.9736 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.6863, allocations: 0.9485 MB / 0.9746 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003298/0.6897, allocations: 2.491 MB / 0.977 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.6907, allocations: 0.7638 MB / 0.9777 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.6921, allocations: 0.8678 MB / 0.9786 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.6936, allocations: 0.7765 MB / 0.9793 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.6937, allocations: 91.98 kB / 0.9794 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.6967, allocations: 1.586 MB / 0.981 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004166/0.6972, allocations: 371 kB / 0.9813 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006337/0.6978, allocations: 0.5483 MB / 0.9819 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.7012, allocations: 1.933 MB / 0.9838 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.7012, allocations: 7.984 kB / 0.9838 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7012, allocations: 0 / 0.9838 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.7012, allocations: 0 / 0.9838 GB, free: 15.25 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002411/0.7036, allocations: 1.412 MB / 0.9851 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.7037, allocations: 12.03 kB / 0.9852 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.7038, allocations: 110.5 kB / 0.9853 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.7059, allocations: 323.1 kB / 0.9856 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.7072, allocations: 0.7813 MB / 0.9863 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.7073, allocations: 49.31 kB / 0.9864 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.7074, allocations: 75.95 kB / 0.9865 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.7088, allocations: 0.79 MB / 0.9872 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.7088, allocations: 0 / 0.9872 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.676e-05/0.7089, allocations: 28 kB / 0.9873 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/0.709, allocations: 29.25 kB / 0.9873 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.7102, allocations: 0.6453 MB / 0.9879 GB, free: 10.88 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004234/0.7144, allocations: 3.367 MB / 0.9912 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009227/0.7153, allocations: 0.5124 MB / 0.9917 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.7159, allocations: 289.5 kB / 0.992 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006581/0.7165, allocations: 0.6692 MB / 0.9926 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.7166, allocations: 46.94 kB / 0.9927 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=51): time 2.073e-06/0.7166, allocations: 0 / 0.9927 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of matching and sorting (n=51): time 0.00174/0.7183, allocations: 0.7719 MB / 0.9934 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.7184, allocations: 63.84 kB / 0.9935 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007146/0.7191, allocations: 0.5902 MB / 0.9941 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.7192, allocations: 37.7 kB / 0.9941 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.7195, allocations: 392.8 kB / 0.9945 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.7197, allocations: 190.3 kB / 0.9947 GB, free: 3.477 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.7198, allocations: 94.25 kB / 0.9947 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.72, allocations: 378.8 kB / 0.9951 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.7204, allocations: 213 kB / 0.9953 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.7209, allocations: 287.1 kB / 0.9956 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008825/0.7218, allocations: 0.5036 MB / 0.9961 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7218, allocations: 0 / 0.9961 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001101/0.7229, allocations: 0.6313 MB / 0.9967 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7229, allocations: 4 kB / 0.9967 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.7229, allocations: 0 / 0.9967 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.723, allocations: 7.938 kB / 0.9967 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.7235, allocations: 131.8 kB / 0.9968 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.7236, allocations: 0 / 0.9968 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.7242, allocations: 55.78 kB / 0.9969 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.7242, allocations: 19.98 kB / 0.9969 GB, free: 1.125 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003783/0.7246, allocations: 257.7 kB / 0.9972 GB, free: 0.8633 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.7248, allocations: 79.48 kB / 0.9972 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.7259, allocations: 0.5971 MB / 0.9978 GB, free: 184 kB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.7259, allocations: 7.938 kB / 0.9978 GB, free: 176 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.726, allocations: 7.938 kB / 0.9978 GB, free: 168 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/0.727, allocations: 0.8067 MB / 0.9986 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.7295, allocations: 1.55 MB / 1 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.7295, allocations: 4 kB / 1 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00076/0.7302, allocations: 155.8 kB / 1 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7303, allocations: 0 / 1 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.7303, allocations: 16 kB / 1 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.7303, allocations: 0 / 1 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7303, allocations: 4 kB / 1 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.7319, allocations: 0.9515 MB / 1.001 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.7322, allocations: 228.4 kB / 1.001 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.7323, allocations: 19.97 kB / 1.001 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/0.7329, allocations: 19.98 kB / 1.001 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.733, allocations: 36.39 kB / 1.002 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.733, allocations: 16 kB / 1.002 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006186/0.7336, allocations: 427 kB / 1.002 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7337, allocations: 0 / 1.002 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007206/0.7344, allocations: 279.5 kB / 1.002 GB, free: 11.48 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002234/0.7366, allocations: 1.596 MB / 1.004 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.7377, allocations: 0.5132 MB / 1.004 GB, free: 9.352 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7377, allocations: 0 / 1.004 GB, free: 9.352 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.7382, allocations: 274.8 kB / 1.005 GB, free: 9.082 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.7405, allocations: 483.6 kB / 1.005 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008681/0.7492, allocations: 6.004 MB / 1.011 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.7499, allocations: 1.024 MB / 1.012 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000683/0.7506, allocations: 182.1 kB / 1.012 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/0.7511, allocations: 311.3 kB / 1.012 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of SimCode: time 6.42e-07/0.7511, allocations: 8 kB / 1.012 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05569/0.8068, allocations: 21.96 MB / 1.034 GB, free: 11.38 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.225/10.03, allocations: 16.23 kB / 1.034 GB, free: 11.36 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)