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.001656/0.001656, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001982/0.001982, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.478/1.478, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.00251/0.00251, allocations: 279 kB / 309.8 MB, free: 3.465 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.052/1.052, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",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.003294/0.003294, allocations: 108.3 kB / 0.7347 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5464, allocations: 95.33 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002067/0.5484, allocations: 1.317 MB / 0.8291 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004566/0.5489, allocations: 310.1 kB / 0.8294 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.5489, allocations: 0 / 0.8294 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.5489, allocations: 0.7031 kB / 0.8294 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.549, allocations: 14.67 kB / 0.8294 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.5493, allocations: 76.7 kB / 0.8294 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.5494, allocations: 36 kB / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.5494, allocations: 6.234 kB / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.5495, allocations: 44.14 kB / 0.8295 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.5496, allocations: 8.906 kB / 0.8295 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.5496, allocations: 3.438 kB / 0.8295 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.5497, allocations: 80.72 kB / 0.8296 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.5497, allocations: 7.844 kB / 0.8296 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.5497, allocations: 11.3 kB / 0.8296 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.5499, allocations: 83.16 kB / 0.8297 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5499, allocations: 0 / 0.8297 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5499, allocations: 2.625 kB / 0.8297 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.5499, allocations: 0 / 0.8297 GB, free: 1.781 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.0003042/0.5502, allocations: 357.5 kB / 0.8301 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5502, allocations: 10.5 kB / 0.8301 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.509e-05/0.5502, allocations: 192 / 0.8301 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.767e-05/0.5503, allocations: 31.31 kB / 0.8301 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.5503, allocations: 7.516 kB / 0.8301 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.043e-05/0.5504, allocations: 164.3 kB / 0.8303 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.5504, allocations: 384 / 0.8303 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.5504, allocations: 7.266 kB / 0.8303 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.803e-05/0.5505, allocations: 45.98 kB / 0.8303 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5505, allocations: 0 / 0.8303 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.5505, allocations: 0 / 0.8303 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5505, allocations: 0 / 0.8303 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.5505, allocations: 10.27 kB / 0.8303 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.5506, allocations: 160.3 kB / 0.8305 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.452e-05/0.5507, allocations: 34.94 kB / 0.8305 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.5507, allocations: 14.17 kB / 0.8305 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009681/0.5517, allocations: 1.184 MB / 0.8317 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.5517, allocations: 34.5 kB / 0.8317 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5517, allocations: 4 kB / 0.8317 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0001776/0.5519, allocations: 52.92 kB / 0.8318 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.552, allocations: 52.47 kB / 0.8318 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.5521, allocations: 107.1 kB / 0.8319 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.5521, allocations: 29.7 kB / 0.832 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.5521, allocations: 81.86 kB / 0.832 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.5521, allocations: 10.14 kB / 0.832 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.5522, allocations: 24.23 kB / 0.8321 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5523, allocations: 315.5 kB / 0.8324 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.5524, allocations: 3.375 kB / 0.8324 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.5524, allocations: 3.422 kB / 0.8324 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.5524, allocations: 21.98 kB / 0.8324 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5524, allocations: 0 / 0.8324 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.268e-05/0.5525, allocations: 50.59 kB / 0.8324 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5525, allocations: 8.188 kB / 0.8324 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5525, allocations: 3.984 kB / 0.8324 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5525, allocations: 0 / 0.8324 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.5526, allocations: 5.25 kB / 0.8325 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5526, allocations: 5.547 kB / 0.8325 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.5526, allocations: 9.094 kB / 0.8325 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.5526, allocations: 2.625 kB / 0.8325 GB, free: 14.77 MB / 0.5919 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 9.023e-05/0.5527, allocations: 121.2 kB / 0.8326 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.5527, allocations: 2.625 kB / 0.8326 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.5529, allocations: 54.34 kB / 0.8326 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5529, allocations: 4 kB / 0.8326 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5529, allocations: 3.844 kB / 0.8326 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5529, allocations: 0.6094 kB / 0.8326 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.553, allocations: 163.3 kB / 0.8328 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.553, allocations: 4 kB / 0.8328 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.553, allocations: 6 kB / 0.8328 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.553, allocations: 0.75 kB / 0.8328 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.553, allocations: 4 kB / 0.8328 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.553, allocations: 0 / 0.8328 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.553, allocations: 0 / 0.8328 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.5532, allocations: 81.36 kB / 0.8329 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.5532, allocations: 85.56 kB / 0.833 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.5533, allocations: 0.7031 kB / 0.833 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.94e-05/0.5533, allocations: 3.422 kB / 0.833 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.5533, allocations: 4.703 kB / 0.833 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.5533, allocations: 2.625 kB / 0.833 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.732e-05/0.5534, allocations: 83.2 kB / 0.8331 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5534, allocations: 0 / 0.8331 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002134/0.5536, allocations: 40.97 kB / 0.8331 GB, free: 14.12 MB / 0.5919 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.0005089/0.5541, allocations: 0.632 MB / 0.8337 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.826e-05/0.5542, allocations: 16.19 kB / 0.8337 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5542, allocations: 0 / 0.8337 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.5542, allocations: 8.562 kB / 0.8337 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.5544, allocations: 11.56 kB / 0.8338 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.5549, allocations: 159 kB / 0.8339 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.5552, allocations: 0.6798 MB / 0.8346 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.5552, allocations: 12.16 kB / 0.8346 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.5552, allocations: 10.88 kB / 0.8346 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.5552, allocations: 0 / 0.8346 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.5736, allocations: 1.691 MB / 0.8362 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.547, allocations: 18.89 kB / 0.8363 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.487497633032035] Failed to read output from testmodel.py, exit status != 0: 8.669931256968994 8.684042473 8.131213118 Calling exit ...