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.001321/0.001321, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001558/0.001558, allocations: 215.9 kB / 22.25 MB, free: 5.125 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.996 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.8274/0.8274, allocations: 134 MB / 446.4 MB, free: 10.24 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.001901/0.001901, allocations: 72.22 kB / 0.6185 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1558, allocations: 85.9 MB / 0.7024 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5367/0.6925, allocations: 208.3 MB / 0.9059 GB, free: 6.266 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009813/0.7023, allocations: 6.396 MB / 0.9121 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.7034, allocations: 47.62 kB / 0.9121 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.7051, allocations: 0.7733 MB / 0.9129 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006931/0.712, allocations: 2.813 MB / 0.9156 GB, free: 12.2 MB / 0.6856 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.001971/0.714, allocations: 0.7329 MB / 0.9164 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004605/0.7186, allocations: 3.365 MB / 0.9196 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.7199, allocations: 0.8207 MB / 0.9204 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.7222, allocations: 1.32 MB / 0.9217 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.7244, allocations: 1.179 MB / 0.9229 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.7246, allocations: 128 kB / 0.923 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/0.7293, allocations: 2.548 MB / 0.9255 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.7299, allocations: 0.5374 MB / 0.926 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009019/0.7308, allocations: 0.7392 MB / 0.9267 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.7353, allocations: 2.804 MB / 0.9295 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7353, allocations: 0 / 0.9295 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7353, allocations: 0 / 0.9295 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.7354, allocations: 4 kB / 0.9295 GB, free: 13.98 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.00386/0.7392, allocations: 1.737 MB / 0.9312 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.7393, allocations: 12.03 kB / 0.9312 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/0.7395, allocations: 164.5 kB / 0.9314 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.7416, allocations: 346.9 kB / 0.9317 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.7431, allocations: 0.8103 MB / 0.9325 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.7431, allocations: 80.62 kB / 0.9326 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.7433, allocations: 107.9 kB / 0.9327 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.7452, allocations: 1.191 MB / 0.9338 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.7452, allocations: 0 / 0.9338 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.7453, allocations: 40 kB / 0.9339 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.996e-05/0.7454, allocations: 62.06 kB / 0.9339 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.7475, allocations: 1.246 MB / 0.9351 GB, free: 8.09 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.007027/0.7545, allocations: 5.033 MB / 0.94 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.7558, allocations: 0.8082 MB / 0.9408 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/0.7566, allocations: 469.2 kB / 0.9413 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.198e-05/0.7566, allocations: 16.64 kB / 0.9413 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007646/0.7574, allocations: 488.2 kB / 0.9418 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.565e-06/0.7574, allocations: 3.938 kB / 0.9418 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.00206/0.7595, allocations: 1.161 MB / 0.9429 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.7595, allocations: 60.06 kB / 0.943 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.7602, allocations: 0.5706 MB / 0.9435 GB, free: 15 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.7603, allocations: 45.7 kB / 0.9436 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.7606, allocations: 476.7 kB / 0.944 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.7609, allocations: 281.6 kB / 0.9443 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.7611, allocations: 126.6 kB / 0.9444 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.7613, allocations: 386.8 kB / 0.9448 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.7618, allocations: 329.8 kB / 0.9451 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.7624, allocations: 454.5 kB / 0.9455 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.7635, allocations: 0.8272 MB / 0.9463 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7635, allocations: 8 kB / 0.9463 GB, free: 12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001401/0.7649, allocations: 0.9261 MB / 0.9472 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.765, allocations: 14.28 kB / 0.9473 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.765, allocations: 4 kB / 0.9473 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.765, allocations: 4 kB / 0.9473 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/0.7657, allocations: 164 kB / 0.9474 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.7657, allocations: 8 kB / 0.9474 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/0.7663, allocations: 63.5 kB / 0.9475 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.7664, allocations: 31.98 kB / 0.9475 GB, free: 10.79 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.0004583/0.7668, allocations: 329.5 kB / 0.9478 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.767, allocations: 95.36 kB / 0.9479 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.7672, allocations: 103.8 kB / 0.948 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.7672, allocations: 8 kB / 0.948 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7672, allocations: 0 / 0.948 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/0.7686, allocations: 1.089 MB / 0.9491 GB, free: 9.07 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.003226/0.7718, allocations: 2.282 MB / 0.9513 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7718, allocations: 0 / 0.9513 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.7726, allocations: 179.8 kB / 0.9515 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.7727, allocations: 4 kB / 0.9515 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.7727, allocations: 20.03 kB / 0.9515 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.7727, allocations: 4 kB / 0.9515 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7727, allocations: 0 / 0.9515 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.7747, allocations: 1.485 MB / 0.953 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/0.7751, allocations: 183.3 kB / 0.9531 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.7752, allocations: 20 kB / 0.9532 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.7758, allocations: 12 kB / 0.9532 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.7759, allocations: 56.5 kB / 0.9532 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.776, allocations: 31.92 kB / 0.9533 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005049/0.7765, allocations: 411.1 kB / 0.9537 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7765, allocations: 0 / 0.9537 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008415/0.7773, allocations: 367.3 kB / 0.954 GB, free: 3.945 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.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.002452/0.7798, allocations: 2.106 MB / 0.9561 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.781, allocations: 0.7707 MB / 0.9568 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.781, allocations: 0 / 0.9568 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005509/0.7815, allocations: 395.5 kB / 0.9572 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.7839, allocations: 0.5886 MB / 0.9578 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.7942, allocations: 7.251 MB / 0.9648 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/0.795, allocations: 1.144 MB / 0.966 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008841/0.7959, allocations: 275.1 kB / 0.9662 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.7965, allocations: 375.3 kB / 0.9666 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/0.7965, allocations: 3.938 kB / 0.9666 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/0.8572, allocations: 26.77 MB / 0.9927 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.65, allocations: 4.109 kB / 0.9927 GB, free: 12.41 MB / 0.7637 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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: 16.161368681998283] Failed to read output from testmodel.py, exit status != 0: 12.760451196998474 12.776560727 12.03806996 Calling exit ...