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.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.001358/0.001358, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001568/0.001568, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.797 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.002531/0.002531, allocations: 291 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.213/1.213, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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.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: 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.002942/0.002942, allocations: 106.3 kB / 0.7395 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1638, allocations: 95.38 MB / 0.8327 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002353/0.1661, allocations: 1.308 MB / 0.8339 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005523/0.1667, allocations: 267 kB / 0.8342 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.1667, allocations: 0 / 0.8342 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.1667, allocations: 0 / 0.8342 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.94e-05/0.1668, allocations: 19.91 kB / 0.8342 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1671, allocations: 75.69 kB / 0.8343 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.1672, allocations: 35.84 kB / 0.8343 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.1672, allocations: 4 kB / 0.8343 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1674, allocations: 39.89 kB / 0.8344 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.1674, allocations: 7.938 kB / 0.8344 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1674, allocations: 4 kB / 0.8344 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1676, allocations: 75.91 kB / 0.8344 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.1676, allocations: 7.938 kB / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1676, allocations: 11.92 kB / 0.8345 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1678, allocations: 76.02 kB / 0.8345 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1678, allocations: 3.984 kB / 0.8345 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1678, allocations: 0 / 0.8345 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1678, allocations: 4 kB / 0.8345 GB, free: 6.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003707/0.1682, allocations: 274.1 kB / 0.8348 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1682, allocations: 13.88 kB / 0.8348 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.1682, allocations: 34.75 kB / 0.8348 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.1683, allocations: 4.891 kB / 0.8348 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.561e-05/0.1684, allocations: 106.5 kB / 0.8349 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1684, allocations: 384 / 0.8349 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.1684, allocations: 12.12 kB / 0.835 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.1685, allocations: 63.38 kB / 0.835 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1685, allocations: 3.938 kB / 0.835 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1685, allocations: 4 kB / 0.835 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.1685, allocations: 0 / 0.835 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.1686, allocations: 15.98 kB / 0.835 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.1687, allocations: 140.7 kB / 0.8352 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.1688, allocations: 26.58 kB / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.1688, allocations: 12.86 kB / 0.8352 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006466/0.1695, allocations: 143.9 kB / 0.8354 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.1695, allocations: 34.56 kB / 0.8354 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1695, allocations: 0 / 0.8354 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0001698/0.1697, allocations: 57.58 kB / 0.8354 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1697, allocations: 51.41 kB / 0.8355 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.1698, allocations: 109.8 kB / 0.8356 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1698, allocations: 29.7 kB / 0.8356 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.1699, allocations: 84.12 kB / 0.8357 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1699, allocations: 3.953 kB / 0.8357 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1699, allocations: 25.67 kB / 0.8357 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1701, allocations: 314.8 kB / 0.836 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.1701, allocations: 0 / 0.836 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.1701, allocations: 11.92 kB / 0.836 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.796e-05/0.1701, allocations: 16.86 kB / 0.8361 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1701, allocations: 0 / 0.8361 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.654e-05/0.1702, allocations: 53.56 kB / 0.8361 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1702, allocations: 8 kB / 0.8361 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1702, allocations: 0 / 0.8361 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1702, allocations: 0 / 0.8361 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/0.1703, allocations: 4 kB / 0.8361 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1703, allocations: 4 kB / 0.8361 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.1703, allocations: 0 / 0.8361 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1703, allocations: 4 kB / 0.8361 GB, free: 4.578 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 (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 7.997e-05/0.1704, allocations: 110.5 kB / 0.8362 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.1704, allocations: 11.92 kB / 0.8362 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.1705, allocations: 53.95 kB / 0.8363 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1705, allocations: 4 kB / 0.8363 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1705, allocations: 4 kB / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1706, allocations: 4.031 kB / 0.8363 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.1707, allocations: 136.6 kB / 0.8364 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1707, allocations: 0 / 0.8364 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.1707, allocations: 12 kB / 0.8365 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1707, allocations: 0 / 0.8365 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1707, allocations: 0 / 0.8365 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1707, allocations: 0 / 0.8365 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1707, allocations: 3.938 kB / 0.8365 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.481e-05/0.1708, allocations: 73.06 kB / 0.8365 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.1708, allocations: 11.94 kB / 0.8365 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1709, allocations: 4 kB / 0.8365 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.1709, allocations: 4 kB / 0.8365 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.1709, allocations: 7.938 kB / 0.8366 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1709, allocations: 0 / 0.8366 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.171, allocations: 91.56 kB / 0.8366 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.171, allocations: 0 / 0.8366 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002151/0.1712, allocations: 31.88 kB / 0.8367 GB, free: 3.941 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.0004864/0.1717, allocations: 0.6318 MB / 0.8373 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.1717, allocations: 23.88 kB / 0.8373 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1717, allocations: 4 kB / 0.8373 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.1718, allocations: 4 kB / 0.8373 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.172, allocations: 14.23 kB / 0.8373 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.1724, allocations: 161.5 kB / 0.8375 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.198e-05/0.1724, allocations: 63.34 kB / 0.8375 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.1725, allocations: 11.98 kB / 0.8376 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.1725, allocations: 7.438 kB / 0.8376 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.1725, allocations: 0 / 0.8376 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.1987, allocations: 2.157 MB / 0.8397 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.86, allocations: 22.2 kB / 0.8397 GB, free: 0.9102 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.988025938160717] Failed to read output from testmodel.py, exit status != 0: 10.967175093013793 10.984547804 10.813594015 Calling exit ...