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.0007598/0.0007598, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000904/0.000904, allocations: 222.3 kB / 22.26 MB, free: 3.703 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.9358/0.9358, allocations: 230.6 MB / 256 MB, free: 9.785 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.7915/0.7915, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.0009157/0.0009157, allocations: 70.3 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5921, allocations: 102 MB / 0.8178 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.1968/0.7889, allocations: 208.4 MB / 1.021 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.007498/0.7964, allocations: 6.413 MB / 1.028 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006635/0.7971, allocations: 51.62 kB / 1.028 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.7987, allocations: 0.7694 MB / 1.028 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.8029, allocations: 2.832 MB / 1.031 GB, free: 10.84 MB / 0.8073 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.001091/0.804, allocations: 0.7442 MB / 1.032 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002308/0.8063, allocations: 3.348 MB / 1.035 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009376/0.8073, allocations: 0.8246 MB / 1.036 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.8087, allocations: 1.425 MB / 1.037 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.81, allocations: 1.154 MB / 1.038 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.8101, allocations: 132 kB / 1.039 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.8131, allocations: 2.549 MB / 1.041 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.8135, allocations: 0.5297 MB / 1.042 GB, free: 104 kB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0007926/0.8143, allocations: 0.7393 MB / 1.042 GB, free: 15.36 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.8167, allocations: 2.815 MB / 1.045 GB, free: 12.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8167, allocations: 0 / 1.045 GB, free: 12.54 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8167, allocations: 0 / 1.045 GB, free: 12.54 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.921e-05/0.8167, allocations: 4 kB / 1.045 GB, free: 12.53 MB / 0.823 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.002384/0.8191, allocations: 1.73 MB / 1.047 GB, free: 10.76 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.8192, allocations: 12.03 kB / 1.047 GB, free: 10.75 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.8193, allocations: 168.6 kB / 1.047 GB, free: 10.57 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.8204, allocations: 346.9 kB / 1.047 GB, free: 10.23 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009884/0.8214, allocations: 0.8103 MB / 1.048 GB, free: 9.398 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.8214, allocations: 78 kB / 1.048 GB, free: 9.32 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.8216, allocations: 99.95 kB / 1.048 GB, free: 9.223 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.823, allocations: 1.187 MB / 1.049 GB, free: 8.004 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.823, allocations: 4 kB / 1.049 GB, free: 8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.8231, allocations: 43.98 kB / 1.049 GB, free: 7.957 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.217e-05/0.8232, allocations: 66.05 kB / 1.05 GB, free: 7.891 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.8248, allocations: 1.242 MB / 1.051 GB, free: 6.641 MB / 0.823 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.004959/0.8298, allocations: 5.21 MB / 1.056 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.831, allocations: 0.8349 MB / 1.057 GB, free: 96 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/0.8316, allocations: 489.2 kB / 1.057 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.836e-05/0.8317, allocations: 20.78 kB / 1.057 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005792/0.8322, allocations: 488.2 kB / 1.058 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=76): time 2.775e-06/0.8322, allocations: 4 kB / 1.058 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.001438/0.8337, allocations: 1.157 MB / 1.059 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.8337, allocations: 60 kB / 1.059 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.8342, allocations: 0.5744 MB / 1.059 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.8342, allocations: 45.69 kB / 1.059 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.8345, allocations: 468.7 kB / 1.06 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.8346, allocations: 285.5 kB / 1.06 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.8348, allocations: 134.6 kB / 1.06 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8349, allocations: 386.8 kB / 1.061 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.8353, allocations: 329.8 kB / 1.061 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.8357, allocations: 452.7 kB / 1.061 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/0.8364, allocations: 0.8194 MB / 1.062 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8365, allocations: 8 kB / 1.062 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001161/0.8376, allocations: 0.9379 MB / 1.063 GB, free: 9.348 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.8376, allocations: 6.188 kB / 1.063 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8376, allocations: 4 kB / 1.063 GB, free: 9.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.8377, allocations: 8 kB / 1.063 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.838, allocations: 163.6 kB / 1.063 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.838, allocations: 11.98 kB / 1.063 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.8383, allocations: 55.52 kB / 1.063 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.8384, allocations: 28 kB / 1.063 GB, free: 9.078 MB / 0.8386 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.0003095/0.8387, allocations: 338.5 kB / 1.064 GB, free: 8.738 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.8388, allocations: 79.53 kB / 1.064 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.8389, allocations: 103.8 kB / 1.064 GB, free: 8.555 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.8389, allocations: 11.94 kB / 1.064 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.8389, allocations: 0 / 1.064 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008576/0.8398, allocations: 1.089 MB / 1.065 GB, free: 7.367 MB / 0.8386 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.002029/0.8418, allocations: 2.29 MB / 1.067 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.8418, allocations: 0 / 1.067 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.8422, allocations: 175.8 kB / 1.067 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.8422, allocations: 4 kB / 1.067 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.8423, allocations: 16 kB / 1.067 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.8423, allocations: 0 / 1.067 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8423, allocations: 0 / 1.067 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.8435, allocations: 1.364 MB / 1.069 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.8437, allocations: 179.3 kB / 1.069 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.8438, allocations: 16 kB / 1.069 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.844, allocations: 25.19 kB / 1.069 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.8441, allocations: 44.52 kB / 1.069 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.8441, allocations: 27.98 kB / 1.069 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003169/0.8444, allocations: 411.1 kB / 1.069 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8444, allocations: 4 kB / 1.069 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005364/0.845, allocations: 371.3 kB / 1.07 GB, free: 2.363 MB / 0.8386 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.001687/0.8467, allocations: 1.973 MB / 1.072 GB, free: 372 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007779/0.8474, allocations: 0.7635 MB / 1.072 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8475, allocations: 4.125 kB / 1.072 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.8478, allocations: 411.5 kB / 1.073 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.8492, allocations: 0.5864 MB / 1.073 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006727/0.8559, allocations: 7.298 MB / 1.08 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.8564, allocations: 1.136 MB / 1.082 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005722/0.857, allocations: 271.1 kB / 1.082 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.8574, allocations: 379.3 kB / 1.082 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/0.8574, allocations: 0 / 1.082 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/0.8987, allocations: 26.71 MB / 1.108 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.631, allocations: 4 kB / 1.108 GB, free: 10.95 MB / 0.8855 GB " [Timeout remaining time 651] (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: 11.647641708143055] Failed to read output from testmodel.py, exit status != 0: 8.722169595072046 8.731256836 7.912467606 Calling exit ...