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.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.001516/0.001516, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001689/0.001689, allocations: 218.8 kB / 22.25 MB, free: 4.852 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 7.793 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.8161/0.8161, allocations: 134 MB / 446.4 MB, free: 9.957 MB / 350.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.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.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: IDEAS 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.001967/0.001967, allocations: 70.53 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1571, allocations: 85.91 MB / 0.7024 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5486/0.7057, allocations: 180.8 MB / 0.8789 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.716, allocations: 5.982 MB / 0.8847 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.7174, allocations: 47.62 kB / 0.8848 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.7195, allocations: 0.6876 MB / 0.8855 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007065/0.7266, allocations: 2.808 MB / 0.8882 GB, free: 4.793 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.001843/0.7284, allocations: 0.7139 MB / 0.8889 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004361/0.7328, allocations: 3.325 MB / 0.8922 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.7343, allocations: 0.8091 MB / 0.8929 GB, free: 15.91 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.7367, allocations: 1.331 MB / 0.8942 GB, free: 14.58 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/0.7393, allocations: 1.121 MB / 0.8953 GB, free: 13.47 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.7396, allocations: 128 kB / 0.8955 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004246/0.7439, allocations: 1.917 MB / 0.8973 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007592/0.7446, allocations: 0.5336 MB / 0.8979 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.7459, allocations: 0.6265 MB / 0.8985 GB, free: 10.26 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004811/0.7508, allocations: 2.726 MB / 0.9011 GB, free: 7.523 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7508, allocations: 0 / 0.9011 GB, free: 7.523 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7508, allocations: 0 / 0.9011 GB, free: 7.523 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.797e-05/0.7508, allocations: 0 / 0.9011 GB, free: 7.523 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.004597/0.7554, allocations: 1.734 MB / 0.9028 GB, free: 5.75 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.7555, allocations: 8.031 kB / 0.9028 GB, free: 5.742 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002858/0.7557, allocations: 168.5 kB / 0.903 GB, free: 5.566 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/0.758, allocations: 350.9 kB / 0.9033 GB, free: 5.223 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.76, allocations: 0.8032 MB / 0.9041 GB, free: 4.395 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.76, allocations: 74 kB / 0.9042 GB, free: 4.32 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.7602, allocations: 104 kB / 0.9043 GB, free: 4.219 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.7626, allocations: 1.399 MB / 0.9056 GB, free: 2.738 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.7626, allocations: 0 / 0.9056 GB, free: 2.738 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.7627, allocations: 44 kB / 0.9057 GB, free: 2.695 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.842e-05/0.7628, allocations: 62.06 kB / 0.9057 GB, free: 2.633 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.7648, allocations: 1.238 MB / 0.907 GB, free: 1.387 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.005867/0.7707, allocations: 3.111 MB / 0.91 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.772, allocations: 0.7965 MB / 0.9108 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/0.7728, allocations: 477.2 kB / 0.9112 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.336e-05/0.7728, allocations: 12.66 kB / 0.9112 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.7737, allocations: 0.6814 MB / 0.9119 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.504e-06/0.7737, allocations: 0 / 0.9119 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.00208/0.7758, allocations: 1.157 MB / 0.913 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.7759, allocations: 64.06 kB / 0.9131 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/0.7766, allocations: 0.5783 MB / 0.9137 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.7767, allocations: 37.7 kB / 0.9137 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.7771, allocations: 468.7 kB / 0.9141 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.7774, allocations: 289.7 kB / 0.9144 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.7776, allocations: 130.6 kB / 0.9145 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.7778, allocations: 382.8 kB / 0.9149 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/0.7783, allocations: 337.8 kB / 0.9152 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.779, allocations: 0.4979 MB / 0.9157 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.7802, allocations: 0.8233 MB / 0.9165 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7802, allocations: 4 kB / 0.9165 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001556/0.7818, allocations: 0.9342 MB / 0.9174 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.7818, allocations: 10.28 kB / 0.9174 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.7818, allocations: 4 kB / 0.9174 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.7818, allocations: 4 kB / 0.9175 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.7825, allocations: 159.7 kB / 0.9176 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.7825, allocations: 4 kB / 0.9176 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.7833, allocations: 63.52 kB / 0.9177 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.7833, allocations: 27.98 kB / 0.9177 GB, free: 6.102 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.0004978/0.7838, allocations: 332.2 kB / 0.918 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.784, allocations: 91.45 kB / 0.9181 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.7842, allocations: 111.7 kB / 0.9182 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.7842, allocations: 11.94 kB / 0.9182 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.7842, allocations: 0 / 0.9182 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001351/0.7856, allocations: 1.081 MB / 0.9193 GB, free: 4.383 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.003366/0.7889, allocations: 2.022 MB / 0.9212 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7889, allocations: 0 / 0.9212 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008677/0.7898, allocations: 179.8 kB / 0.9214 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.7898, allocations: 7.938 kB / 0.9214 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.7899, allocations: 19.98 kB / 0.9214 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.7899, allocations: 4 kB / 0.9215 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7899, allocations: 0 / 0.9215 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.7923, allocations: 1.488 MB / 0.9229 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/0.7928, allocations: 179.3 kB / 0.9231 GB, free: 420 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.793, allocations: 18.48 kB / 0.9231 GB, free: 404 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.7937, allocations: 20 kB / 0.9231 GB, free: 384 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.7938, allocations: 44.56 kB / 0.9232 GB, free: 340 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.175e-05/0.7938, allocations: 39.86 kB / 0.9232 GB, free: 300 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005838/0.7944, allocations: 411.1 kB / 0.9236 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.7944, allocations: 0 / 0.9236 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009362/0.7953, allocations: 371.3 kB / 0.9239 GB, free: 15.54 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.002664/0.798, allocations: 2.102 MB / 0.926 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.7993, allocations: 0.7668 MB / 0.9267 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7993, allocations: 0 / 0.9267 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.7999, allocations: 395.5 kB / 0.9271 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.8025, allocations: 0.5974 MB / 0.9277 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.8128, allocations: 7.246 MB / 0.9348 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.8134, allocations: 0.5428 MB / 0.9353 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008644/0.8143, allocations: 279.1 kB / 0.9356 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005754/0.8149, allocations: 379.3 kB / 0.9359 GB, free: 3.059 MB / 0.7012 GB Notification: Performance of SimCode: time 6.11e-07/0.8149, allocations: 4 kB / 0.9359 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06651/0.8814, allocations: 28.78 MB / 0.964 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.21, allocations: 9.188 kB / 0.964 GB, free: 6.789 MB / 0.7325 GB " [Timeout remaining time 648] (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: 15.704622320830822] Failed to read output from testmodel.py, exit status != 0: 12.323208451736718 12.339504812 11.585588258 Calling exit ...