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.00144/0.00144, 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.001418/0.001418, allocations: 214.4 kB / 22.25 MB, free: 5.129 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 8.008 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.8125/0.8125, allocations: 134 MB / 446.4 MB, free: 10.3 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.001966/0.001966, allocations: 65.61 kB / 0.6185 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1456, allocations: 85.91 MB / 0.7024 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5454/0.6909, allocations: 208.3 MB / 0.9059 GB, free: 6.297 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.7016, allocations: 6.402 MB / 0.9121 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.7028, allocations: 47.62 kB / 0.9121 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.7049, allocations: 0.7694 MB / 0.9129 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006607/0.7115, allocations: 2.82 MB / 0.9157 GB, free: 12.23 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.001883/0.7133, allocations: 0.7327 MB / 0.9164 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004458/0.7178, allocations: 3.361 MB / 0.9197 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.7192, allocations: 0.8246 MB / 0.9205 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.7217, allocations: 1.316 MB / 0.9217 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.7243, allocations: 1.176 MB / 0.9229 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003208/0.7246, allocations: 124 kB / 0.923 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.7295, allocations: 2.556 MB / 0.9255 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007319/0.7302, allocations: 0.5297 MB / 0.926 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.7316, allocations: 0.7391 MB / 0.9267 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004889/0.7365, allocations: 2.804 MB / 0.9295 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7365, allocations: 4 kB / 0.9295 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7365, allocations: 3.938 kB / 0.9295 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.83e-05/0.7365, allocations: 4 kB / 0.9295 GB, free: 14.01 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.004636/0.7412, allocations: 1.73 MB / 0.9312 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7412, allocations: 12.03 kB / 0.9312 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002824/0.7415, allocations: 168.5 kB / 0.9314 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.7438, allocations: 346.9 kB / 0.9317 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.7455, allocations: 0.8026 MB / 0.9325 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-05/0.7456, allocations: 85.94 kB / 0.9326 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.7458, allocations: 103.9 kB / 0.9327 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.7479, allocations: 1.195 MB / 0.9338 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.7479, allocations: 0 / 0.9338 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.748, allocations: 44 kB / 0.9339 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-05/0.7481, allocations: 62.06 kB / 0.9339 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.7502, allocations: 1.242 MB / 0.9351 GB, free: 8.117 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.00738/0.7575, allocations: 5.033 MB / 0.94 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.7589, allocations: 0.7972 MB / 0.9408 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007417/0.7596, allocations: 481.2 kB / 0.9413 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.487e-05/0.7597, allocations: 16.8 kB / 0.9413 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007727/0.7605, allocations: 484.2 kB / 0.9418 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.685e-06/0.7605, allocations: 0 / 0.9418 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.002063/0.7625, allocations: 1.157 MB / 0.9429 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.7626, allocations: 67.98 kB / 0.943 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.7633, allocations: 0.5745 MB / 0.9435 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.855e-05/0.7634, allocations: 41.7 kB / 0.9436 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.7638, allocations: 476.6 kB / 0.944 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.7641, allocations: 273.6 kB / 0.9443 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.7643, allocations: 134.6 kB / 0.9444 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.7645, allocations: 382.8 kB / 0.9448 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.765, allocations: 325.8 kB / 0.9451 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/0.7657, allocations: 462.5 kB / 0.9455 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.7669, allocations: 0.8382 MB / 0.9463 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7669, allocations: 0 / 0.9463 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001494/0.7684, allocations: 0.9261 MB / 0.9472 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.7684, allocations: 7.938 kB / 0.9472 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.7684, allocations: 4 kB / 0.9473 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.7684, allocations: 4.344 kB / 0.9473 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.7691, allocations: 163.7 kB / 0.9474 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.7691, allocations: 8 kB / 0.9474 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007286/0.7698, allocations: 61.75 kB / 0.9475 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.7699, allocations: 28 kB / 0.9475 GB, free: 10.83 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.0004925/0.7704, allocations: 333.5 kB / 0.9478 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.7706, allocations: 91.36 kB / 0.9479 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.7708, allocations: 107.7 kB / 0.948 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.7708, allocations: 8 kB / 0.948 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7708, allocations: 4 kB / 0.948 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001389/0.7722, allocations: 1.089 MB / 0.9491 GB, free: 9.102 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.003449/0.7756, allocations: 2.279 MB / 0.9513 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7757, allocations: 3.984 kB / 0.9513 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008575/0.7765, allocations: 179.8 kB / 0.9515 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.7765, allocations: 8 kB / 0.9515 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.7766, allocations: 15.98 kB / 0.9515 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.7766, allocations: 4 kB / 0.9515 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7766, allocations: 0 / 0.9515 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.7787, allocations: 1.488 MB / 0.953 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.7791, allocations: 179.3 kB / 0.9531 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.7792, allocations: 16 kB / 0.9532 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006253/0.7799, allocations: 23.98 kB / 0.9532 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.78, allocations: 52.5 kB / 0.9532 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.78, allocations: 29.05 kB / 0.9533 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005192/0.7805, allocations: 411.1 kB / 0.9536 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7805, allocations: 0 / 0.9536 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008707/0.7814, allocations: 371.3 kB / 0.954 GB, free: 3.973 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.002584/0.784, allocations: 2.102 MB / 0.9561 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.7852, allocations: 0.7668 MB / 0.9568 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7852, allocations: 0 / 0.9568 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.7858, allocations: 403.4 kB / 0.9572 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.7883, allocations: 0.5923 MB / 0.9578 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.7986, allocations: 7.243 MB / 0.9648 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008549/0.7994, allocations: 1.14 MB / 0.966 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008938/0.8003, allocations: 279.1 kB / 0.9662 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/0.8009, allocations: 375.3 kB / 0.9666 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of SimCode: time 6.42e-07/0.8009, allocations: 4 kB / 0.9666 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0675/0.8684, allocations: 26.77 MB / 0.9927 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.71, allocations: 6.219 kB / 0.9927 GB, free: 12.43 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 & /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: 16.074383427156135] Failed to read output from testmodel.py, exit status != 0: 12.826745485886931 12.842896868 12.103217464 Calling exit ...