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.001501/0.001501, allocations: 102.8 kB / 16.45 MB, free: 6.387 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.001418/0.001418, allocations: 214.3 kB / 19.43 MB, free: 3.73 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 9.016 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.8514/0.8514, allocations: 133.9 MB / 442.8 MB, free: 11.77 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.001995/0.001995, allocations: 61.97 kB / 0.6134 GB, free: 8.828 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1551, allocations: 85.85 MB / 0.6973 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5885/0.7437, allocations: 207.8 MB / 0.9002 GB, free: 8.598 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.7543, allocations: 6.384 MB / 0.9065 GB, free: 2.203 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.7557, allocations: 51.62 kB / 0.9065 GB, free: 2.152 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.7577, allocations: 0.7616 MB / 0.9073 GB, free: 1.387 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006808/0.7645, allocations: 2.766 MB / 0.91 GB, free: 14.61 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.001908/0.7664, allocations: 0.7056 MB / 0.9106 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00441/0.7709, allocations: 3.283 MB / 0.9139 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.7723, allocations: 0.9376 MB / 0.9148 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.7749, allocations: 1.324 MB / 0.9161 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.7774, allocations: 1.165 MB / 0.9172 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.7777, allocations: 128 kB / 0.9173 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/0.7827, allocations: 2.502 MB / 0.9198 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007514/0.7835, allocations: 0.5258 MB / 0.9203 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.7847, allocations: 0.743 MB / 0.921 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00595/0.7906, allocations: 2.808 MB / 0.9237 GB, free: 444 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7906, allocations: 0 / 0.9237 GB, free: 444 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7906, allocations: 3.938 kB / 0.9237 GB, free: 440 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.317e-05/0.7907, allocations: 4 kB / 0.9238 GB, free: 436 kB / 0.6856 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.005017/0.7957, allocations: 1.813 MB / 0.9255 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.7958, allocations: 9.109 kB / 0.9255 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002446/0.796, allocations: 164.6 kB / 0.9257 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.7985, allocations: 342.9 kB / 0.926 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.8001, allocations: 0.8863 MB / 0.9269 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.791e-05/0.8002, allocations: 74.02 kB / 0.927 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.8004, allocations: 104 kB / 0.927 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.8026, allocations: 1.195 MB / 0.9282 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.8026, allocations: 0 / 0.9282 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.8027, allocations: 40 kB / 0.9283 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.292e-05/0.8028, allocations: 62.06 kB / 0.9283 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.8048, allocations: 1.246 MB / 0.9295 GB, free: 10.35 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.007018/0.8119, allocations: 5.097 MB / 0.9345 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.8135, allocations: 1.093 MB / 0.9356 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.8143, allocations: 479.3 kB / 0.936 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.8143, allocations: 12.81 kB / 0.936 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008095/0.8151, allocations: 0.4958 MB / 0.9365 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.434e-06/0.8151, allocations: 0 / 0.9365 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.002163/0.8173, allocations: 1.153 MB / 0.9377 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.8173, allocations: 64 kB / 0.9377 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007804/0.8181, allocations: 0.5745 MB / 0.9383 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/0.8182, allocations: 37.7 kB / 0.9383 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.8186, allocations: 480.6 kB / 0.9388 GB, free: 304 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.8188, allocations: 269.6 kB / 0.939 GB, free: 32 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.8191, allocations: 138.8 kB / 0.9392 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.8193, allocations: 378.8 kB / 0.9395 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.8198, allocations: 329.8 kB / 0.9398 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.8204, allocations: 466.5 kB / 0.9403 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.8217, allocations: 0.8272 MB / 0.9411 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.8217, allocations: 4 kB / 0.9411 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001538/0.8232, allocations: 0.9301 MB / 0.942 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.8232, allocations: 7.75 kB / 0.942 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.8232, allocations: 4 kB / 0.942 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.8232, allocations: 8 kB / 0.942 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.824, allocations: 148.2 kB / 0.9422 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.824, allocations: 19.92 kB / 0.9422 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008322/0.8248, allocations: 63.52 kB / 0.9422 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.8249, allocations: 24 kB / 0.9423 GB, free: 12.62 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.0005427/0.8254, allocations: 333.5 kB / 0.9426 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.8256, allocations: 95.36 kB / 0.9427 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.8259, allocations: 111.7 kB / 0.9428 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.8259, allocations: 4 kB / 0.9428 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.8259, allocations: 4 kB / 0.9428 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001398/0.8273, allocations: 1.085 MB / 0.9438 GB, free: 10.89 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.003552/0.8309, allocations: 2.303 MB / 0.9461 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.8309, allocations: 4 kB / 0.9461 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009539/0.8318, allocations: 179.8 kB / 0.9463 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.8318, allocations: 0 / 0.9463 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.8319, allocations: 24.03 kB / 0.9463 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.8319, allocations: 4 kB / 0.9463 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8319, allocations: 0 / 0.9463 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.8341, allocations: 1.488 MB / 0.9478 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.8345, allocations: 256.4 kB / 0.948 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.8346, allocations: 12 kB / 0.948 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000665/0.8353, allocations: 25.11 kB / 0.948 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/0.8354, allocations: 48.53 kB / 0.9481 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/0.8355, allocations: 28 kB / 0.9481 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000573/0.836, allocations: 411 kB / 0.9485 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.836, allocations: 0 / 0.9485 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009394/0.837, allocations: 375.2 kB / 0.9489 GB, free: 5.641 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.002649/0.8396, allocations: 2.105 MB / 0.9509 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.841, allocations: 0.7746 MB / 0.9517 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.841, allocations: 0 / 0.9517 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005926/0.8416, allocations: 399.4 kB / 0.952 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/0.8442, allocations: 0.5852 MB / 0.9526 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.8545, allocations: 7.252 MB / 0.9597 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008715/0.8554, allocations: 1.14 MB / 0.9608 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009414/0.8563, allocations: 279.1 kB / 0.9611 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/0.8569, allocations: 379.3 kB / 0.9614 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/0.8569, allocations: 0 / 0.9614 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0626/0.9195, allocations: 26.11 MB / 0.9869 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.801/10.72, allocations: 0.5625 kB / 0.9869 GB, free: 14.75 MB / 0.7637 GB " [Timeout remaining time 649] (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: 14.37473423499614] Failed to read output from testmodel.py, exit status != 0: 10.806095674997778 10.823098983 10.028999387 Calling exit ...