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.0008761/0.0008761, 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.0009587/0.0009587, allocations: 165.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.9114/0.9114, 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.7162/0.7162, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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 2.595e-06/2.595e-06, allocations: 4 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.543e-05, allocations: 5.156 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.453/0.453, allocations: 178.6 MB / 0.7925 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009278/0.4623, allocations: 6.919 MB / 0.7993 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.4635, allocations: 49.19 kB / 0.7993 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.4649, allocations: 0.6656 MB / 0.8 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.4695, allocations: 2.576 MB / 0.8025 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.4718, allocations: 1.296 MB / 0.8038 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002848/0.4747, allocations: 3.008 MB / 0.8067 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008384/0.4755, allocations: 0.7065 MB / 0.8074 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.4771, allocations: 1.547 MB / 0.8089 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.4784, allocations: 0.8917 MB / 0.8098 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 9.896e-05/0.4785, allocations: 111.8 kB / 0.8099 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.4815, allocations: 1.778 MB / 0.8116 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.4819, allocations: 490.3 kB / 0.8121 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.4823, allocations: 490.9 kB / 0.8126 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.485, allocations: 2.419 MB / 0.8149 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.485, allocations: 3.938 kB / 0.8149 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.833e-06/0.485, allocations: 0 / 0.8149 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.485, allocations: 0 / 0.8149 GB, free: 5.938 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.002311/0.4873, allocations: 1.577 MB / 0.8165 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.4874, allocations: 10.94 kB / 0.8165 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.4875, allocations: 135 kB / 0.8166 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.4888, allocations: 384.1 kB / 0.817 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009802/0.4898, allocations: 0.7836 MB / 0.8177 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.4898, allocations: 67.41 kB / 0.8178 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.4899, allocations: 83.72 kB / 0.8179 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.4911, allocations: 1.246 MB / 0.8191 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.4911, allocations: 3.953 kB / 0.8191 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.4912, allocations: 34.47 kB / 0.8191 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/0.4912, allocations: 47.92 kB / 0.8192 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009606/0.4922, allocations: 0.8811 MB / 0.82 GB, free: 2.473 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.002662/0.4948, allocations: 2.857 MB / 0.8228 GB, free: 356 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.4956, allocations: 0.6632 MB / 0.8235 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.4961, allocations: 443 kB / 0.8239 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.4963, allocations: 90.16 kB / 0.824 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.4964, allocations: 41.22 kB / 0.824 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.805e-06/0.4964, allocations: 3.375 kB / 0.824 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001158/0.4975, allocations: 0.9962 MB / 0.825 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.4976, allocations: 60.59 kB / 0.8251 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.498, allocations: 0.6358 MB / 0.8257 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.4981, allocations: 40.23 kB / 0.8257 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.4983, allocations: 439.5 kB / 0.8261 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4984, allocations: 263.8 kB / 0.8264 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.4986, allocations: 120.2 kB / 0.8265 GB, free: 14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4987, allocations: 382.8 kB / 0.8269 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.499, allocations: 281.2 kB / 0.8271 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.4993, allocations: 353.1 kB / 0.8275 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007273/0.5, allocations: 0.6668 MB / 0.8281 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5, allocations: 0 / 0.8281 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007875/0.5008, allocations: 0.7973 MB / 0.8289 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5008, allocations: 4 kB / 0.8289 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.5008, allocations: 4 kB / 0.8289 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.5008, allocations: 4 kB / 0.8289 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.5012, allocations: 147.9 kB / 0.8291 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5012, allocations: 7.938 kB / 0.8291 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.5015, allocations: 55.61 kB / 0.8291 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.5016, allocations: 24 kB / 0.8291 GB, free: 11.25 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.0002828/0.5019, allocations: 281.6 kB / 0.8294 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.5019, allocations: 95.38 kB / 0.8295 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008354/0.5028, allocations: 0.8013 MB / 0.8303 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5028, allocations: 8 kB / 0.8303 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5028, allocations: 0 / 0.8303 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006635/0.5035, allocations: 0.8135 MB / 0.8311 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.5051, allocations: 1.683 MB / 0.8327 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5051, allocations: 0 / 0.8327 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.5055, allocations: 171.8 kB / 0.8329 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.5055, allocations: 7.984 kB / 0.8329 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.5055, allocations: 12 kB / 0.8329 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.5056, allocations: 4 kB / 0.8329 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5056, allocations: 3.938 kB / 0.8329 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5067, allocations: 1.202 MB / 0.8341 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.5069, allocations: 175.2 kB / 0.8343 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.507, allocations: 12 kB / 0.8343 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.5073, allocations: 32.67 kB / 0.8343 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.5073, allocations: 40.58 kB / 0.8343 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.5074, allocations: 27.98 kB / 0.8344 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003467/0.5077, allocations: 451 kB / 0.8348 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5077, allocations: 0 / 0.8348 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006825/0.5084, allocations: 343.4 kB / 0.8351 GB, free: 4.984 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.00149/0.5099, allocations: 1.843 MB / 0.8369 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007324/0.5106, allocations: 0.6458 MB / 0.8376 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5106, allocations: 0 / 0.8376 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.5109, allocations: 355.5 kB / 0.8379 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.5123, allocations: 0.547 MB / 0.8384 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006476/0.5187, allocations: 6.816 MB / 0.8451 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.5191, allocations: 0.4908 MB / 0.8456 GB, free: 10.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006476/0.5197, allocations: 223.2 kB / 0.8458 GB, free: 9.898 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.5201, allocations: 360.4 kB / 0.8461 GB, free: 9.547 MB / 0.698 GB Notification: Performance of SimCode: time 1.483e-06/0.5201, allocations: 0 / 0.8461 GB, free: 9.547 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/0.5623, allocations: 28 MB / 0.8735 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.746, allocations: 15.75 kB / 0.8735 GB, free: 14.19 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 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.523035784251988] Failed to read output from testmodel.py, exit status != 0: 7.839330269955099 7.847384411 7.360789376 Calling exit ...