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.001062/0.001062, allocations: 76.44 kB / 19.17 MB, free: 0.7227 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.0009102/0.0009102, allocations: 165.9 kB / 22.46 MB, free: 2.086 MB / 18.57 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.9791/0.9791, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.00191/0.00191, allocations: 233.1 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.7077/0.7077, allocations: 138.4 MB / 454.3 MB, free: 1.656 MB / 362.7 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: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.772e-05, allocations: 8.969 kB / 0.6463 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003142/0.003169, allocations: 1.273 MB / 0.6475 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004888/0.003658, allocations: 116.3 kB / 0.6477 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.003745, allocations: 0 / 0.6477 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.003771, allocations: 0 / 0.6477 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.797e-05/0.003859, allocations: 1.156 kB / 0.6477 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.004141, allocations: 38.64 kB / 0.6477 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.517e-05/0.004216, allocations: 14.33 kB / 0.6477 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.004275, allocations: 9.297 kB / 0.6477 GB, free: 27.92 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.004327, allocations: 12.78 kB / 0.6477 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.004398, allocations: 6.234 kB / 0.6477 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.004419, allocations: 1.125 kB / 0.6477 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.004593, allocations: 44.55 kB / 0.6478 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.004616, allocations: 0 / 0.6478 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.004645, allocations: 6.609 kB / 0.6478 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.004848, allocations: 46.98 kB / 0.6478 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.004854, allocations: 1.406 kB / 0.6478 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/0.004856, allocations: 0 / 0.6478 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.004864, allocations: 4 kB / 0.6478 GB, free: 27.85 MB / 0.5105 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.0005076/0.005372, allocations: 261.7 kB / 0.6481 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/0.005436, allocations: 9.625 kB / 0.6481 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.005476, allocations: 30.75 kB / 0.6481 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.005511, allocations: 2.094 kB / 0.6481 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.005697, allocations: 112 kB / 0.6482 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.005716, allocations: 1.625 kB / 0.6482 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.005729, allocations: 1.719 kB / 0.6482 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.00585, allocations: 40.41 kB / 0.6483 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.005862, allocations: 1.312 kB / 0.6483 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.005873, allocations: 4 kB / 0.6483 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.005881, allocations: 0 / 0.6483 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.545e-05/0.005936, allocations: 7.625 kB / 0.6483 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.006081, allocations: 125 kB / 0.6484 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.006191, allocations: 23.89 kB / 0.6484 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.006236, allocations: 10.52 kB / 0.6484 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.006683, allocations: 79.67 kB / 0.6485 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.006707, allocations: 35.97 kB / 0.6485 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.006709, allocations: 4 kB / 0.6485 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000221/0.00693, allocations: 43.66 kB / 0.6486 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.006964, allocations: 52.84 kB / 0.6486 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.007037, allocations: 101.6 kB / 0.6487 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.007045, allocations: 25.7 kB / 0.6488 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.007067, allocations: 81.61 kB / 0.6488 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.007108, allocations: 7.938 kB / 0.6488 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.007147, allocations: 13.47 kB / 0.6489 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.007229, allocations: 316.1 kB / 0.6492 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.941e-05/0.007259, allocations: 1.062 kB / 0.6492 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.007279, allocations: 7.094 kB / 0.6492 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.007345, allocations: 13.61 kB / 0.6492 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.007351, allocations: 1.5 kB / 0.6492 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001018/0.007452, allocations: 37.22 kB / 0.6492 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.007474, allocations: 10.09 kB / 0.6492 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.007482, allocations: 3.984 kB / 0.6492 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.007504, allocations: 0 / 0.6492 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.007571, allocations: 11.59 kB / 0.6492 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.007578, allocations: 0 / 0.6492 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.007597, allocations: 1.719 kB / 0.6492 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.007603, allocations: 4 kB / 0.6492 GB, free: 26.36 MB / 0.5105 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 4.994e-05/0.007653, allocations: 112 kB / 0.6494 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.007664, allocations: 9.109 kB / 0.6494 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.007778, allocations: 46.72 kB / 0.6494 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.007782, allocations: 0 / 0.6494 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.007789, allocations: 1.156 kB / 0.6494 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.007794, allocations: 0 / 0.6494 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.454e-05/0.007878, allocations: 124.5 kB / 0.6495 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007881, allocations: 0 / 0.6495 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.007903, allocations: 8.156 kB / 0.6495 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.007906, allocations: 3.938 kB / 0.6495 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.007915, allocations: 192 / 0.6495 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.00792, allocations: 5.188 kB / 0.6495 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007921, allocations: 0 / 0.6495 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.225e-05/0.008003, allocations: 67.55 kB / 0.6496 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.008013, allocations: 1.438 kB / 0.6496 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.008031, allocations: 9.125 kB / 0.6496 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.008045, allocations: 4 kB / 0.6496 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.008065, allocations: 5.047 kB / 0.6496 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.008068, allocations: 1.219 kB / 0.6496 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.008087, allocations: 81.75 kB / 0.6497 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.008087, allocations: 0 / 0.6497 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002489/0.008336, allocations: 16.03 kB / 0.6497 GB, free: 25.84 MB / 0.5105 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.0003436/0.00868, allocations: 0.6189 MB / 0.6503 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.504e-05/0.008775, allocations: 10.44 kB / 0.6503 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.008778, allocations: 1.281 kB / 0.6503 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.00879, allocations: 3.188 kB / 0.6503 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.009129, allocations: 10.66 kB / 0.6504 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.01017, allocations: 1.098 MB / 0.6514 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.922e-05/0.01021, allocations: 60.34 kB / 0.6515 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.01024, allocations: 6.031 kB / 0.6515 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.01028, allocations: 9.688 kB / 0.6515 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of SimCode: time 7.31e-07/0.01028, allocations: 0 / 0.6515 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.03396, allocations: 2.124 MB / 0.6536 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.548, allocations: 10.03 kB / 0.6536 GB, free: 22.65 MB / 0.5105 GB " [Timeout remaining time 652] (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: 10.660819352604449] Failed to read output from testmodel.py, exit status != 0: 7.634897739626467 7.645921096 7.63933265 Calling exit ...