Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.001339/0.001339, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 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.001458/0.001458, allocations: 214.1 kB / 23.78 MB, free: 4.555 MB / 14.72 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 1.454/1.454, allocations: 230.6 MB / 257.6 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9634/0.9634, allocations: 150 MB / 464 MB, free: 10.19 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 70.14 kB / 0.6419 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1691, allocations: 89.16 MB / 0.729 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5594/0.7285, allocations: 180.7 MB / 0.9055 GB, free: 176 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.7388, allocations: 5.981 MB / 0.9113 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.74, allocations: 47.62 kB / 0.9114 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.7418, allocations: 0.6876 MB / 0.912 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.7487, allocations: 2.82 MB / 0.9148 GB, free: 6.609 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.7506, allocations: 0.7192 MB / 0.9155 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004439/0.755, allocations: 3.363 MB / 0.9188 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.7564, allocations: 0.8247 MB / 0.9196 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.7594, allocations: 1.433 MB / 0.921 GB, free: 236 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.7621, allocations: 1.165 MB / 0.9221 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.7623, allocations: 131.9 kB / 0.9222 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/0.7663, allocations: 1.928 MB / 0.9241 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006426/0.7669, allocations: 0.5336 MB / 0.9246 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009311/0.7678, allocations: 0.6187 MB / 0.9252 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00418/0.772, allocations: 2.73 MB / 0.9279 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.772, allocations: 0 / 0.9279 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.333e-06/0.772, allocations: 0 / 0.9279 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.7721, allocations: 0 / 0.9279 GB, free: 9.117 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004122/0.7762, allocations: 1.726 MB / 0.9296 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7762, allocations: 12.03 kB / 0.9296 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.419e-05/0.7763, allocations: 26.02 kB / 0.9296 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.7765, allocations: 164.6 kB / 0.9298 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.7788, allocations: 358.8 kB / 0.9301 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.7804, allocations: 0.8065 MB / 0.9309 GB, free: 5.957 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.51e-05/0.7804, allocations: 82 kB / 0.931 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.7806, allocations: 100 kB / 0.9311 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.7828, allocations: 1.392 MB / 0.9325 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.7828, allocations: 0 / 0.9325 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.7829, allocations: 43.98 kB / 0.9325 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.741e-05/0.783, allocations: 58.08 kB / 0.9326 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.785, allocations: 1.253 MB / 0.9338 GB, free: 2.941 MB / 0.7012 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.00575/0.7907, allocations: 3.118 MB / 0.9368 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.7922, allocations: 0.826 MB / 0.9376 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.7929, allocations: 0.4895 MB / 0.9381 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.479e-05/0.793, allocations: 12.64 kB / 0.9381 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000888/0.7939, allocations: 0.6736 MB / 0.9388 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.427e-06/0.7939, allocations: 0 / 0.9388 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.002047/0.7959, allocations: 1.165 MB / 0.9399 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.796, allocations: 64.06 kB / 0.94 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/0.7966, allocations: 0.5706 MB / 0.9405 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.7967, allocations: 41.7 kB / 0.9406 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.7971, allocations: 476.6 kB / 0.941 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.7973, allocations: 277.5 kB / 0.9413 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.7976, allocations: 134.6 kB / 0.9414 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.7978, allocations: 390.7 kB / 0.9418 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.7983, allocations: 325.8 kB / 0.9421 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.7989, allocations: 452.8 kB / 0.9425 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.8001, allocations: 0.8239 MB / 0.9433 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8001, allocations: 3.938 kB / 0.9433 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001486/0.8016, allocations: 0.934 MB / 0.9443 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.8016, allocations: 11.94 kB / 0.9443 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.8016, allocations: 6.734 kB / 0.9443 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.8017, allocations: 8 kB / 0.9443 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.8024, allocations: 151.8 kB / 0.9444 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.8024, allocations: 8.344 kB / 0.9444 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.8031, allocations: 67.52 kB / 0.9445 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.8032, allocations: 27.98 kB / 0.9445 GB, free: 7.668 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.000527/0.8037, allocations: 325.6 kB / 0.9448 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.8038, allocations: 87.42 kB / 0.9449 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.8041, allocations: 111.8 kB / 0.945 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.8041, allocations: 7.938 kB / 0.945 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.8041, allocations: 0 / 0.945 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/0.8055, allocations: 1.089 MB / 0.9461 GB, free: 5.953 MB / 0.7169 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 postOpt removeSimpleEquations (simulation): time 0.003367/0.8089, allocations: 2.031 MB / 0.9481 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.8089, allocations: 0 / 0.9481 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009022/0.8098, allocations: 167.8 kB / 0.9482 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.8098, allocations: 7.938 kB / 0.9482 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.8099, allocations: 23.98 kB / 0.9483 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.8099, allocations: 4 kB / 0.9483 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8099, allocations: 0 / 0.9483 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.8119, allocations: 1.352 MB / 0.9496 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.8123, allocations: 183.3 kB / 0.9498 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.8125, allocations: 16 kB / 0.9498 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.8131, allocations: 25.11 kB / 0.9498 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.8132, allocations: 44.56 kB / 0.9498 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.8132, allocations: 35.86 kB / 0.9499 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005348/0.8138, allocations: 411.1 kB / 0.9503 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8138, allocations: 0 / 0.9503 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000933/0.8147, allocations: 371.3 kB / 0.9506 GB, free: 1.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002505/0.8172, allocations: 1.97 MB / 0.9526 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.8185, allocations: 0.7713 MB / 0.9533 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8185, allocations: 4.062 kB / 0.9533 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.8191, allocations: 407.5 kB / 0.9537 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.8217, allocations: 0.5973 MB / 0.9543 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.8325, allocations: 7.267 MB / 0.9614 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.8332, allocations: 0.5466 MB / 0.9619 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001006/0.8342, allocations: 279.1 kB / 0.9622 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/0.8348, allocations: 379.3 kB / 0.9625 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of SimCode: time 1.343e-06/0.8348, allocations: 0 / 0.9625 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05954/0.8943, allocations: 28.47 MB / 0.9903 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.84, allocations: 4.062 kB / 0.9903 GB, free: 8.965 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.68266713898629] Failed to read output from testmodel.py, exit status != 0: 14.028369356994517 14.048507555 13.273178443 Calling exit ...