Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002336/0.002336, allocations: 283.4 kB / 303 MB, free: 9.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 180.9 MB / 0.5261 GB, free: 14.6 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 99.31 kB / 0.7248 GB, free: 40.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1596, allocations: 94.16 MB / 0.8167 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002315/0.1619, allocations: 1.288 MB / 0.818 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005985/0.1625, allocations: 311 kB / 0.8183 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.1625, allocations: 4 kB / 0.8183 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.1626, allocations: 3.984 kB / 0.8183 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1627, allocations: 7.922 kB / 0.8183 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1629, allocations: 75.72 kB / 0.8184 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.271e-05/0.163, allocations: 35.86 kB / 0.8184 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.1631, allocations: 4 kB / 0.8184 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1632, allocations: 35.89 kB / 0.8184 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.1632, allocations: 11.94 kB / 0.8185 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1632, allocations: 0 / 0.8185 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1634, allocations: 83.91 kB / 0.8185 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.1634, allocations: 7.922 kB / 0.8185 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.1634, allocations: 19.88 kB / 0.8186 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1636, allocations: 76 kB / 0.8186 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1636, allocations: 0 / 0.8186 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1636, allocations: 0 / 0.8186 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1636, allocations: 0 / 0.8186 GB, free: 3.465 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004151/0.164, allocations: 355.2 kB / 0.819 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.164, allocations: 8.031 kB / 0.819 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.1641, allocations: 34.75 kB / 0.819 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.1641, allocations: 4.938 kB / 0.819 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1643, allocations: 172.3 kB / 0.8192 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.1643, allocations: 4.375 kB / 0.8192 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1643, allocations: 4.125 kB / 0.8192 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.922e-05/0.1644, allocations: 37.69 kB / 0.8192 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1644, allocations: 0 / 0.8192 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1644, allocations: 4 kB / 0.8192 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1644, allocations: 0 / 0.8192 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.514e-05/0.1644, allocations: 7.938 kB / 0.8192 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.1646, allocations: 157.7 kB / 0.8194 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.211e-05/0.1647, allocations: 38.61 kB / 0.8194 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.1647, allocations: 12.86 kB / 0.8194 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.1659, allocations: 1.183 MB / 0.8206 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1659, allocations: 38.56 kB / 0.8206 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1659, allocations: 0 / 0.8206 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001532/0.1661, allocations: 57.58 kB / 0.8207 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.1661, allocations: 51.41 kB / 0.8207 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.1662, allocations: 113.8 kB / 0.8208 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1662, allocations: 29.64 kB / 0.8209 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.1663, allocations: 84.08 kB / 0.8209 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.1663, allocations: 11.89 kB / 0.821 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1663, allocations: 21.7 kB / 0.821 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1665, allocations: 310.8 kB / 0.8213 GB, free: 280 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.1665, allocations: 8 kB / 0.8213 GB, free: 272 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.1665, allocations: 4 kB / 0.8213 GB, free: 268 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.304e-05/0.1665, allocations: 33.05 kB / 0.8213 GB, free: 232 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1665, allocations: 0 / 0.8213 GB, free: 232 kB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.874e-05/0.1666, allocations: 41.64 kB / 0.8214 GB, free: 184 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1666, allocations: 4 kB / 0.8214 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1666, allocations: 4 kB / 0.8214 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1666, allocations: 7.984 kB / 0.8214 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.1667, allocations: 8 kB / 0.8214 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1667, allocations: 0 / 0.8214 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.1667, allocations: 3.953 kB / 0.8214 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-06/0.1667, allocations: 0 / 0.8214 GB, free: 156 kB / 0.5606 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 (3): * Single equations (assignments): 3 * 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 8.087e-05/0.1668, allocations: 109.8 kB / 0.8215 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.1668, allocations: 3.938 kB / 0.8215 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.1669, allocations: 69.52 kB / 0.8216 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1669, allocations: 0 / 0.8216 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1669, allocations: 0 / 0.8216 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1669, allocations: 0 / 0.8216 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1671, allocations: 161.6 kB / 0.8217 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1671, allocations: 0 / 0.8217 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.1671, allocations: 4 kB / 0.8217 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1671, allocations: 0 / 0.8217 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1671, allocations: 4 kB / 0.8217 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1671, allocations: 4 kB / 0.8217 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1671, allocations: 0 / 0.8217 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.896e-05/0.1672, allocations: 76.95 kB / 0.8218 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.1673, allocations: 89.09 kB / 0.8219 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.1673, allocations: 0 / 0.8219 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.1673, allocations: 0 / 0.8219 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.1674, allocations: 4 kB / 0.8219 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1674, allocations: 3.984 kB / 0.8219 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.1674, allocations: 95.22 kB / 0.822 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1674, allocations: 0 / 0.822 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001976/0.1676, allocations: 27.88 kB / 0.822 GB, free: 15.41 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 (3): * Single equations (assignments): 3 * 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.0004803/0.1681, allocations: 0.6396 MB / 0.8226 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.256e-05/0.1682, allocations: 15.88 kB / 0.8226 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1682, allocations: 4 kB / 0.8227 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.1682, allocations: 15.98 kB / 0.8227 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.1684, allocations: 6.172 kB / 0.8227 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.1688, allocations: 155.6 kB / 0.8228 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1691, allocations: 0.681 MB / 0.8235 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.68e-05/0.1691, allocations: 8 kB / 0.8235 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.1691, allocations: 15.38 kB / 0.8235 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1691, allocations: 4 kB / 0.8235 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.1932, allocations: 1.657 MB / 0.8251 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.011, allocations: 12.53 kB / 0.8251 GB, free: 12.25 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.96059763384983] Failed to read output from testmodel.py, exit status != 0: 8.075761383865029 8.088970581 7.922807499 Calling exit ...