Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 106.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7967/0.7967, allocations: 134 MB / 436.6 MB, free: 1.301 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.28 kB / 0.6051 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1429, allocations: 84.68 MB / 0.6878 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4894/0.6323, allocations: 204.9 MB / 0.8879 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009608/0.6419, allocations: 6.375 MB / 0.8941 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007168/0.6426, allocations: 35.81 kB / 0.8941 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.6443, allocations: 0.7694 MB / 0.8949 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005503/0.6498, allocations: 2.768 MB / 0.8976 GB, free: 7.977 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001519/0.6513, allocations: 0.7078 MB / 0.8983 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003572/0.6549, allocations: 3.275 MB / 0.9015 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.656, allocations: 0.9414 MB / 0.9024 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.6578, allocations: 1.3 MB / 0.9037 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.6596, allocations: 1.162 MB / 0.9048 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.6598, allocations: 131.9 kB / 0.9049 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004044/0.6639, allocations: 2.506 MB / 0.9074 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005444/0.6644, allocations: 0.5297 MB / 0.9079 GB, free: 13.38 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007812/0.6652, allocations: 0.743 MB / 0.9086 GB, free: 12.64 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003698/0.6689, allocations: 2.802 MB / 0.9114 GB, free: 9.828 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6689, allocations: 0 / 0.9114 GB, free: 9.828 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6689, allocations: 0 / 0.9114 GB, free: 9.828 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.6689, allocations: 0 / 0.9114 GB, free: 9.828 MB / 0.67 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.003877/0.6728, allocations: 1.821 MB / 0.9131 GB, free: 7.949 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.6728, allocations: 8.031 kB / 0.9131 GB, free: 7.941 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002112/0.673, allocations: 164.6 kB / 0.9133 GB, free: 7.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.6752, allocations: 350.9 kB / 0.9136 GB, free: 7.426 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.6768, allocations: 0.8824 MB / 0.9145 GB, free: 6.496 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/0.6768, allocations: 74.02 kB / 0.9146 GB, free: 6.422 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.677, allocations: 104 kB / 0.9147 GB, free: 6.32 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.6789, allocations: 1.187 MB / 0.9158 GB, free: 5.102 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.679, allocations: 0 / 0.9158 GB, free: 5.102 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/0.6791, allocations: 40 kB / 0.9159 GB, free: 5.062 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.948e-05/0.6792, allocations: 66.06 kB / 0.9159 GB, free: 4.996 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.6811, allocations: 1.249 MB / 0.9171 GB, free: 3.738 MB / 0.67 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.006855/0.688, allocations: 5.096 MB / 0.9221 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.6895, allocations: 1.094 MB / 0.9232 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007172/0.6902, allocations: 469.2 kB / 0.9236 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-05/0.6902, allocations: 24.78 kB / 0.9237 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007582/0.691, allocations: 0.4883 MB / 0.9241 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.054e-06/0.691, allocations: 0 / 0.9241 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.00201/0.693, allocations: 1.153 MB / 0.9253 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.6931, allocations: 60.06 kB / 0.9253 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/0.6938, allocations: 0.5706 MB / 0.9259 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.6938, allocations: 45.69 kB / 0.9259 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.6942, allocations: 468.7 kB / 0.9264 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.6945, allocations: 281.5 kB / 0.9266 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.6947, allocations: 130.7 kB / 0.9268 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.6949, allocations: 386.8 kB / 0.9271 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.6954, allocations: 325.8 kB / 0.9274 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.696, allocations: 466.5 kB / 0.9279 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.6972, allocations: 0.8233 MB / 0.9287 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6972, allocations: 0 / 0.9287 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001428/0.6986, allocations: 0.9339 MB / 0.9296 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6986, allocations: 11.94 kB / 0.9296 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6987, allocations: 3.938 kB / 0.9296 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.6987, allocations: 8 kB / 0.9296 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/0.6993, allocations: 147.8 kB / 0.9298 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.6993, allocations: 14.83 kB / 0.9298 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.7, allocations: 74.27 kB / 0.9298 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.7, allocations: 28 kB / 0.9299 GB, free: 6.004 MB / 0.6856 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.0004336/0.7005, allocations: 334.1 kB / 0.9302 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.7006, allocations: 87.42 kB / 0.9303 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.7008, allocations: 107.8 kB / 0.9304 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.7008, allocations: 8 kB / 0.9304 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7008, allocations: 0 / 0.9304 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/0.7022, allocations: 1.089 MB / 0.9314 GB, free: 4.281 MB / 0.6856 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.003393/0.7056, allocations: 2.303 MB / 0.9337 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.7056, allocations: 4 kB / 0.9337 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008531/0.7064, allocations: 175.8 kB / 0.9339 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.7064, allocations: 4 kB / 0.9339 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.7065, allocations: 19.98 kB / 0.9339 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.7065, allocations: 8.031 kB / 0.9339 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7065, allocations: 0 / 0.9339 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.7085, allocations: 1.492 MB / 0.9354 GB, free: 176 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.709, allocations: 256.4 kB / 0.9356 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.871e-05/0.7091, allocations: 12 kB / 0.9356 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.7097, allocations: 26.73 kB / 0.9356 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.7097, allocations: 44.59 kB / 0.9357 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.7098, allocations: 35.88 kB / 0.9357 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005054/0.7103, allocations: 415 kB / 0.9361 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7103, allocations: 0 / 0.9361 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000814/0.7111, allocations: 371.3 kB / 0.9365 GB, free: 15.03 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.002485/0.7136, allocations: 2.114 MB / 0.9385 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.7148, allocations: 0.7707 MB / 0.9393 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7148, allocations: 0 / 0.9393 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.7154, allocations: 391.6 kB / 0.9397 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.7177, allocations: 0.597 MB / 0.9402 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009887/0.7276, allocations: 7.244 MB / 0.9473 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008199/0.7284, allocations: 1.143 MB / 0.9484 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008419/0.7292, allocations: 267.1 kB / 0.9487 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.7298, allocations: 375.3 kB / 0.949 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of SimCode: time 6.71e-07/0.7298, allocations: 4 kB / 0.949 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05807/0.7878, allocations: 26.1 MB / 0.9745 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.003/9.79, allocations: 9.438 kB / 0.9745 GB, free: 8.137 MB / 0.7325 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.11331877997145] Failed to read output from testmodel.py, exit status != 0: 9.882786186877638 9.895886685 9.224333649 Calling exit ...