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.001381/0.001381, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001806/0.001806, allocations: 217.4 kB / 22.99 MB, free: 4.965 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.566/1.566, allocations: 230.6 MB / 256.8 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.002642/0.002642, allocations: 300.3 kB / 313.5 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.34/1.34, allocations: 180.6 MB / 0.5377 GB, free: 14.36 MB / 382.1 MB " [Timeout remaining time 178] 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: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [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.002939/0.002939, allocations: 104.5 kB / 0.7407 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.229, allocations: 95.38 MB / 0.8339 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002713/0.2317, allocations: 1.301 MB / 0.8351 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006341/0.2323, allocations: 271 kB / 0.8354 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.2324, allocations: 4 kB / 0.8354 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.2324, allocations: 3.938 kB / 0.8354 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.2325, allocations: 15.91 kB / 0.8354 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.2328, allocations: 79.67 kB / 0.8355 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.2329, allocations: 39.84 kB / 0.8355 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.233, allocations: 8 kB / 0.8355 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2331, allocations: 27.91 kB / 0.8356 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.2332, allocations: 7.938 kB / 0.8356 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.2332, allocations: 0 / 0.8356 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.2333, allocations: 79.91 kB / 0.8357 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.2334, allocations: 8 kB / 0.8357 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.2334, allocations: 15.91 kB / 0.8357 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.2336, allocations: 79.72 kB / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2336, allocations: 0 / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2336, allocations: 0 / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.2336, allocations: 0 / 0.8358 GB, free: 5.855 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.0004869/0.2341, allocations: 275.5 kB / 0.836 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2341, allocations: 9.344 kB / 0.836 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.2342, allocations: 8.891 kB / 0.836 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2343, allocations: 110.5 kB / 0.8361 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2343, allocations: 4.375 kB / 0.8361 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.2343, allocations: 4.312 kB / 0.8361 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.2345, allocations: 71.33 kB / 0.8362 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2345, allocations: 0 / 0.8362 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2345, allocations: 0 / 0.8362 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2345, allocations: 3.938 kB / 0.8362 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.2345, allocations: 11.98 kB / 0.8362 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.2347, allocations: 113.3 kB / 0.8363 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.2348, allocations: 34.52 kB / 0.8364 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.428e-05/0.2348, allocations: 8.922 kB / 0.8364 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/0.2355, allocations: 139.9 kB / 0.8365 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2355, allocations: 38.5 kB / 0.8365 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2355, allocations: 0 / 0.8365 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0001783/0.2357, allocations: 53.64 kB / 0.8366 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.2357, allocations: 51.41 kB / 0.8366 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.2358, allocations: 121.7 kB / 0.8368 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.2358, allocations: 25.7 kB / 0.8368 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.2359, allocations: 80.14 kB / 0.8369 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.2359, allocations: 15.94 kB / 0.8369 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.2359, allocations: 17.67 kB / 0.8369 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2361, allocations: 314.8 kB / 0.8372 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.2361, allocations: 8 kB / 0.8372 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.2361, allocations: 4 kB / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.2362, allocations: 21.12 kB / 0.8372 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2362, allocations: 0 / 0.8372 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.411e-05/0.2362, allocations: 49.67 kB / 0.8373 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2363, allocations: 11.94 kB / 0.8373 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2363, allocations: 0 / 0.8373 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2363, allocations: 0 / 0.8373 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.2363, allocations: 7.938 kB / 0.8373 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2363, allocations: 4 kB / 0.8373 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.2363, allocations: 0 / 0.8373 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2363, allocations: 0 / 0.8373 GB, free: 4.094 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 8.27e-05/0.2364, allocations: 110.5 kB / 0.8374 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.2365, allocations: 3.938 kB / 0.8374 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.2366, allocations: 69.61 kB / 0.8375 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2366, allocations: 0 / 0.8375 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2366, allocations: 0 / 0.8375 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2366, allocations: 0 / 0.8375 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.2367, allocations: 117.2 kB / 0.8376 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.2367, allocations: 0 / 0.8376 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.2368, allocations: 7.938 kB / 0.8376 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2368, allocations: 0 / 0.8376 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.2368, allocations: 3.938 kB / 0.8376 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2368, allocations: 4 kB / 0.8376 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2368, allocations: 4 kB / 0.8376 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.2369, allocations: 73.12 kB / 0.8377 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.2369, allocations: 15.88 kB / 0.8377 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.2369, allocations: 3.938 kB / 0.8377 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.237, allocations: 4 kB / 0.8377 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.237, allocations: 0 / 0.8377 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.237, allocations: 0 / 0.8377 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.011e-05/0.237, allocations: 91.27 kB / 0.8378 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.237, allocations: 0 / 0.8378 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002065/0.2372, allocations: 27.88 kB / 0.8378 GB, free: 3.496 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.0002011/0.2374, allocations: 131 kB / 0.8379 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.414e-05/0.2375, allocations: 19.98 kB / 0.838 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2375, allocations: 0 / 0.838 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.2376, allocations: 8 kB / 0.838 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.2378, allocations: 12.59 kB / 0.838 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.2381, allocations: 145.6 kB / 0.8381 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.837e-05/0.2381, allocations: 63.34 kB / 0.8382 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.2382, allocations: 15.42 kB / 0.8382 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.2382, allocations: 0 / 0.8382 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of Templates: time 0.002334/0.2405, allocations: 0.7329 MB / 0.8389 GB, free: 2.328 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.048411032184958] Failed to read output from testmodel.py, exit status != 0: 0.24830544460564852 0.263956432 0.02723373 Calling exit ...