Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000941/0.000941, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.001033/0.001033, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.9553/0.9553, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7917/0.7917, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_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.001008/0.001008, allocations: 74.69 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/0.5408, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.176/0.7168, allocations: 180.9 MB / 0.9944 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.7289, allocations: 6.004 MB / 1 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.7311, allocations: 51.62 kB / 1 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.7335, allocations: 0.6837 MB / 1.001 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.006717/0.7402, allocations: 2.813 MB / 1.004 GB, free: 6.66 MB / 0.7761 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.001589/0.7418, allocations: 0.7203 MB / 1.004 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003745/0.7455, allocations: 3.323 MB / 1.008 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.7465, allocations: 0.8168 MB / 1.008 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00266/0.7492, allocations: 1.433 MB / 1.01 GB, free: 332 kB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.7509, allocations: 1.105 MB / 1.011 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.751, allocations: 132 kB / 1.011 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.7543, allocations: 1.913 MB / 1.013 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.7548, allocations: 0.5258 MB / 1.013 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006899/0.7555, allocations: 0.6226 MB / 1.014 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.7596, allocations: 2.726 MB / 1.017 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.7596, allocations: 0 / 1.017 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7596, allocations: 0 / 1.017 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.7596, allocations: 0 / 1.017 GB, free: 9.289 MB / 0.7917 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.003079/0.7627, allocations: 1.734 MB / 1.018 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7628, allocations: 16.03 kB / 1.018 GB, free: 7.5 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.7629, allocations: 160.6 kB / 1.019 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.7642, allocations: 342.9 kB / 1.019 GB, free: 6.996 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.7654, allocations: 0.8181 MB / 1.02 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.7655, allocations: 78 kB / 1.02 GB, free: 6.074 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.7656, allocations: 99.95 kB / 1.02 GB, free: 5.977 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.767, allocations: 1.403 MB / 1.021 GB, free: 4.492 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.767, allocations: 0 / 1.021 GB, free: 4.492 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.7671, allocations: 40 kB / 1.021 GB, free: 4.453 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.7671, allocations: 58.08 kB / 1.021 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.7684, allocations: 1.238 MB / 1.023 GB, free: 3.148 MB / 0.7917 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.004193/0.7726, allocations: 3.13 MB / 1.026 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000944/0.7735, allocations: 0.8315 MB / 1.026 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.774, allocations: 489.2 kB / 1.027 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.774, allocations: 12.64 kB / 1.027 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005756/0.7746, allocations: 0.6776 MB / 1.028 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=76): time 2.685e-06/0.7746, allocations: 0 / 1.028 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=76): time 0.001384/0.776, allocations: 1.165 MB / 1.029 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.776, allocations: 64 kB / 1.029 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.7765, allocations: 0.5822 MB / 1.029 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.7766, allocations: 41.64 kB / 1.029 GB, free: 12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005805/0.7772, allocations: 468.7 kB / 1.03 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.7774, allocations: 281.7 kB / 1.03 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.7775, allocations: 130.6 kB / 1.03 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7776, allocations: 386.8 kB / 1.031 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.778, allocations: 329.8 kB / 1.031 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.7783, allocations: 448.8 kB / 1.031 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/0.7791, allocations: 0.8233 MB / 1.032 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7791, allocations: 4 kB / 1.032 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009074/0.78, allocations: 0.9339 MB / 1.033 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.78, allocations: 8 kB / 1.033 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.78, allocations: 0 / 1.033 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.7801, allocations: 8 kB / 1.033 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.7805, allocations: 160 kB / 1.033 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.7805, allocations: 11.94 kB / 1.033 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.781, allocations: 67.5 kB / 1.033 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.7811, allocations: 28 kB / 1.033 GB, free: 7.859 MB / 0.8073 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.000537/0.7816, allocations: 330.2 kB / 1.034 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.7817, allocations: 83.48 kB / 1.034 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.7819, allocations: 107.8 kB / 1.034 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.7819, allocations: 11.94 kB / 1.034 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.7819, allocations: 0 / 1.034 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.7832, allocations: 1.089 MB / 1.035 GB, free: 6.148 MB / 0.8073 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.003512/0.7867, allocations: 2.022 MB / 1.037 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7867, allocations: 0 / 1.037 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/0.7874, allocations: 175.8 kB / 1.037 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.7874, allocations: 0 / 1.037 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.7875, allocations: 23.98 kB / 1.037 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.7875, allocations: 4 kB / 1.037 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7875, allocations: 3.984 kB / 1.037 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.7895, allocations: 1.367 MB / 1.038 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.79, allocations: 175.4 kB / 1.039 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.7901, allocations: 20.11 kB / 1.039 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.7906, allocations: 25.83 kB / 1.039 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.7907, allocations: 44.56 kB / 1.039 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-05/0.7907, allocations: 27.98 kB / 1.039 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005228/0.7912, allocations: 411.1 kB / 1.039 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7912, allocations: 0 / 1.039 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001086/0.7923, allocations: 371.3 kB / 1.039 GB, free: 1.426 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * 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.00218/0.7945, allocations: 1.985 MB / 1.041 GB, free: 15.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.7958, allocations: 0.763 MB / 1.042 GB, free: 14.64 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7958, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005475/0.7963, allocations: 411.5 kB / 1.043 GB, free: 14.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.7986, allocations: 0.5914 MB / 1.043 GB, free: 13.68 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.8096, allocations: 7.283 MB / 1.05 GB, free: 6.234 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.8102, allocations: 0.5427 MB / 1.051 GB, free: 5.66 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001392/0.8116, allocations: 267.2 kB / 1.051 GB, free: 5.395 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.8121, allocations: 379.3 kB / 1.051 GB, free: 5.027 MB / 0.823 GB Notification: Performance of SimCode: time 1.613e-06/0.8121, allocations: 0 / 1.051 GB, free: 5.027 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04713/0.8593, allocations: 28.7 MB / 1.079 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.828, allocations: 3.938 kB / 1.079 GB, free: 8.84 MB / 0.8542 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.869079909753054] Failed to read output from testmodel.py, exit status != 0: 7.919348007068038 7.927062204 7.165381165 Calling exit ...