Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001308/0.001308, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001458/0.001458, allocations: 212.8 kB / 22.25 MB, free: 5.258 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002548/0.002548, allocations: 290.8 kB / 312.7 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.18/1.18, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002975/0.002975, allocations: 100.4 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.153, allocations: 95.39 MB / 0.8326 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003424/0.1564, allocations: 1.275 MB / 0.8339 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000383/0.1568, allocations: 111.6 kB / 0.834 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.1568, allocations: 0 / 0.834 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.1568, allocations: 0 / 0.834 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.919e-05/0.1569, allocations: 3.938 kB / 0.834 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1571, allocations: 43.84 kB / 0.834 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.1572, allocations: 15.94 kB / 0.8341 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.1573, allocations: 3.938 kB / 0.8341 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.1573, allocations: 11.97 kB / 0.8341 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.1573, allocations: 4 kB / 0.8341 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1574, allocations: 0 / 0.8341 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.1575, allocations: 47.94 kB / 0.8341 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.1575, allocations: 7.875 kB / 0.8341 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.1576, allocations: 4 kB / 0.8341 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1577, allocations: 44.16 kB / 0.8342 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1577, allocations: 0 / 0.8342 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.528e-06/0.1577, allocations: 4 kB / 0.8342 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.1577, allocations: 3.938 kB / 0.8342 GB, free: 6.758 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004549/0.1582, allocations: 254.3 kB / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1582, allocations: 13.34 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.1583, allocations: 30.75 kB / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.1583, allocations: 4.922 kB / 0.8345 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1585, allocations: 114.5 kB / 0.8346 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.1585, allocations: 384 / 0.8346 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1585, allocations: 8.125 kB / 0.8346 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/0.1586, allocations: 29.7 kB / 0.8346 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1586, allocations: 0 / 0.8346 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.1586, allocations: 0 / 0.8346 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1586, allocations: 0 / 0.8346 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.1586, allocations: 15.88 kB / 0.8346 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.1589, allocations: 124.8 kB / 0.8348 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.601e-05/0.1589, allocations: 18.61 kB / 0.8348 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.159, allocations: 12.86 kB / 0.8348 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/0.1596, allocations: 91.91 kB / 0.8349 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1596, allocations: 30.56 kB / 0.8349 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.1596, allocations: 0 / 0.8349 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001684/0.1598, allocations: 45.64 kB / 0.8349 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1599, allocations: 51.41 kB / 0.835 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.16, allocations: 97.84 kB / 0.8351 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.16, allocations: 25.7 kB / 0.8351 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.16, allocations: 84.14 kB / 0.8352 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.1601, allocations: 7.953 kB / 0.8352 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1601, allocations: 13.84 kB / 0.8352 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1603, allocations: 314.8 kB / 0.8355 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.1603, allocations: 4 kB / 0.8355 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.1603, allocations: 7.984 kB / 0.8355 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.1603, allocations: 8.859 kB / 0.8355 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1603, allocations: 0 / 0.8355 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.1605, allocations: 45.58 kB / 0.8356 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1605, allocations: 8 kB / 0.8356 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1605, allocations: 0 / 0.8356 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1605, allocations: 4.031 kB / 0.8356 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.1605, allocations: 8 kB / 0.8356 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1606, allocations: 3.984 kB / 0.8356 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.1606, allocations: 0 / 0.8356 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1606, allocations: 0 / 0.8356 GB, free: 5.117 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.846e-05/0.1607, allocations: 106.5 kB / 0.8357 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.1607, allocations: 7.938 kB / 0.8357 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.1608, allocations: 48.94 kB / 0.8358 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1608, allocations: 0 / 0.8358 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1608, allocations: 0 / 0.8358 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1608, allocations: 4.031 kB / 0.8358 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.161, allocations: 128.7 kB / 0.8359 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.161, allocations: 0 / 0.8359 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.161, allocations: 7.984 kB / 0.8359 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.161, allocations: 0 / 0.8359 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.161, allocations: 4 kB / 0.8359 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.161, allocations: 0 / 0.8359 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.161, allocations: 4 kB / 0.8359 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.1612, allocations: 61.08 kB / 0.836 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.1612, allocations: 8.172 kB / 0.836 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1612, allocations: 7.875 kB / 0.836 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.897e-05/0.1613, allocations: 8.031 kB / 0.836 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.1613, allocations: 3.984 kB / 0.836 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.1613, allocations: 0 / 0.836 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.1614, allocations: 79.28 kB / 0.8361 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1614, allocations: 0 / 0.8361 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003541/0.1617, allocations: 15.94 kB / 0.8361 GB, free: 4.551 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006204/0.1623, allocations: 0.6182 MB / 0.8367 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.346e-05/0.1624, allocations: 11.94 kB / 0.8367 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1624, allocations: 4.094 kB / 0.8367 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/0.1625, allocations: 4 kB / 0.8367 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1628, allocations: 7.984 kB / 0.8367 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.1642, allocations: 1.087 MB / 0.8378 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.285e-05/0.1643, allocations: 63.23 kB / 0.8378 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.1643, allocations: 12.09 kB / 0.8378 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.1644, allocations: 15.44 kB / 0.8378 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1644, allocations: 0 / 0.8378 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.199, allocations: 1.991 MB / 0.8398 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/10.99, allocations: 12.06 kB / 0.8398 GB, free: 0.7461 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.96402179589495] Failed to read output from testmodel.py, exit status != 0: 11.097117880359292 11.112899053 10.952130153 Calling exit ...