Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000772/0.000772, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008174/0.0008174, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9283/0.9283, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7418/0.7418, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.345e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5363/0.5363, allocations: 178.6 MB / 0.7925 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.5464, allocations: 6.921 MB / 0.7993 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.5475, allocations: 48.81 kB / 0.7993 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.549, allocations: 0.6679 MB / 0.8 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004612/0.5536, allocations: 2.579 MB / 0.8025 GB, free: 13 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.5559, allocations: 1.289 MB / 0.8038 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.5581, allocations: 3.006 MB / 0.8067 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006367/0.5587, allocations: 0.7118 MB / 0.8074 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.5599, allocations: 1.539 MB / 0.8089 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.561, allocations: 0.8987 MB / 0.8098 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-05/0.5611, allocations: 109.3 kB / 0.8099 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.5633, allocations: 1.774 MB / 0.8116 GB, free: 8 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.5635, allocations: 496.7 kB / 0.8121 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003343/0.5639, allocations: 483.8 kB / 0.8126 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.5657, allocations: 2.423 MB / 0.8149 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5657, allocations: 0 / 0.8149 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5657, allocations: 0 / 0.8149 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.5657, allocations: 2.312 kB / 0.8149 GB, free: 5.918 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001868/0.5676, allocations: 1.574 MB / 0.8165 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.5676, allocations: 14.12 kB / 0.8165 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.5678, allocations: 140.8 kB / 0.8166 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.569, allocations: 376 kB / 0.817 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.5699, allocations: 0.7887 MB / 0.8177 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.5699, allocations: 64.94 kB / 0.8178 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.57, allocations: 83.66 kB / 0.8179 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.5711, allocations: 1.244 MB / 0.8191 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5711, allocations: 6.703 kB / 0.8191 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.5712, allocations: 39.92 kB / 0.8191 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.5712, allocations: 39.28 kB / 0.8192 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009743/0.5722, allocations: 0.8819 MB / 0.82 GB, free: 2.453 MB / 0.6667 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.002585/0.5748, allocations: 2.859 MB / 0.8228 GB, free: 340 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.5755, allocations: 0.6653 MB / 0.8235 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.576, allocations: 445.8 kB / 0.8239 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.5762, allocations: 79.12 kB / 0.824 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.5762, allocations: 48.5 kB / 0.824 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.054e-06/0.5762, allocations: 0 / 0.824 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001159/0.5774, allocations: 1.003 MB / 0.825 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.5774, allocations: 60.22 kB / 0.8251 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.5779, allocations: 0.6298 MB / 0.8257 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.578, allocations: 40.08 kB / 0.8257 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.5782, allocations: 442.2 kB / 0.8261 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.5783, allocations: 254.9 kB / 0.8264 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.5784, allocations: 116.9 kB / 0.8265 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5786, allocations: 395.6 kB / 0.8269 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.5789, allocations: 277.2 kB / 0.8271 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.5792, allocations: 353.1 kB / 0.8275 GB, free: 13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.5799, allocations: 0.6629 MB / 0.8281 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5799, allocations: 4 kB / 0.8281 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000798/0.5807, allocations: 0.7934 MB / 0.8289 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5807, allocations: 8 kB / 0.8289 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5807, allocations: 0 / 0.8289 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5807, allocations: 7.938 kB / 0.8289 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.581, allocations: 143.8 kB / 0.8291 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.5811, allocations: 8.188 kB / 0.8291 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.5814, allocations: 55.61 kB / 0.8291 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.5814, allocations: 23.94 kB / 0.8291 GB, free: 11.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0002528/0.5817, allocations: 289.6 kB / 0.8294 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.91e-05/0.5817, allocations: 91.38 kB / 0.8295 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008539/0.5826, allocations: 0.7973 MB / 0.8303 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5826, allocations: 11.94 kB / 0.8303 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5826, allocations: 0 / 0.8303 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006874/0.5833, allocations: 0.8174 MB / 0.8311 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.5849, allocations: 1.679 MB / 0.8327 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5849, allocations: 0 / 0.8327 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.5854, allocations: 175.8 kB / 0.8329 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5854, allocations: 4 kB / 0.8329 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.5854, allocations: 12 kB / 0.8329 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5854, allocations: 4 kB / 0.8329 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5854, allocations: 3.938 kB / 0.8329 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.5865, allocations: 1.203 MB / 0.8341 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.5867, allocations: 171.2 kB / 0.8343 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.5868, allocations: 16 kB / 0.8343 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.5871, allocations: 23.92 kB / 0.8343 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.5872, allocations: 47.7 kB / 0.8343 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.5872, allocations: 27.98 kB / 0.8344 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003438/0.5875, allocations: 451 kB / 0.8348 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5875, allocations: 4 kB / 0.8348 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004759/0.588, allocations: 339.4 kB / 0.8351 GB, free: 5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.001447/0.5894, allocations: 1.861 MB / 0.8369 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006843/0.5901, allocations: 0.6419 MB / 0.8376 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5901, allocations: 0 / 0.8376 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.5905, allocations: 351.6 kB / 0.8379 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5917, allocations: 0.5436 MB / 0.8384 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.5978, allocations: 6.814 MB / 0.8451 GB, free: 10.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.5983, allocations: 0.4948 MB / 0.8456 GB, free: 10.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005522/0.5989, allocations: 223.1 kB / 0.8458 GB, free: 9.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.5992, allocations: 364.4 kB / 0.8461 GB, free: 9.555 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.5992, allocations: 0 / 0.8461 GB, free: 9.555 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03979/0.639, allocations: 27.99 MB / 0.8735 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/8.037, allocations: 14.3 kB / 0.8735 GB, free: 14.2 MB / 0.7292 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.990505428984761] Failed to read output from testmodel.py, exit status != 0: 8.131764764897525 8.139960697 7.57252277 Calling exit ...