Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.093/2.093, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 189.4 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 114.4 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 53.39 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2386, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002109/0.2407, allocations: 1.341 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0005433/0.2413, allocations: 322.9 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.2414, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.2414, allocations: 3.938 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.968e-05/0.2415, allocations: 11.92 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.2418, allocations: 59.8 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.2419, allocations: 31.91 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.2419, allocations: 8 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.242, allocations: 27.8 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.2421, allocations: 11.94 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.2421, allocations: 4 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.2422, allocations: 75.91 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.2422, allocations: 8 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.2423, allocations: 23.84 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2424, allocations: 69.95 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2424, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2424, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2424, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 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.0003468/0.2428, allocations: 347.5 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2428, allocations: 11.98 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.2429, allocations: 4.844 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.243, allocations: 176.3 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.243, allocations: 12.36 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.243, allocations: 384 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.11e-05/0.2431, allocations: 37.83 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2431, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2431, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2431, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.2432, allocations: 19.92 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.2433, allocations: 157.6 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.507e-05/0.2434, allocations: 42.59 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.2434, allocations: 8.922 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007161/0.2441, allocations: 1.187 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.2441, allocations: 38.5 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.2441, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001226/0.2443, allocations: 53.62 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.2443, allocations: 51.41 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.837e-05/0.2444, allocations: 105.8 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.2444, allocations: 25.7 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.2444, allocations: 84.14 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.2444, allocations: 11.91 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.2445, allocations: 21.61 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.2445, allocations: 310.8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.2445, allocations: 8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.2446, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.397e-05/0.2446, allocations: 24.73 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2446, allocations: 3.938 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.216e-05/0.2447, allocations: 45.62 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.2447, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2447, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2447, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.832e-05/0.2448, allocations: 7.984 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2448, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.2448, allocations: 8 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.2448, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 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 4.947e-05/0.2449, allocations: 106.5 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.2449, allocations: 7.938 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.245, allocations: 65.53 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.245, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.245, allocations: 3.984 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.245, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.789e-05/0.2451, allocations: 165.5 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2451, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.2451, allocations: 7.938 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2451, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.2451, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2452, allocations: 4 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2452, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.2454, allocations: 0.6243 MB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.2454, allocations: 89.05 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.2454, allocations: 7.984 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.2455, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.2455, allocations: 8 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2455, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.354e-05/0.2455, allocations: 87.27 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2455, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003066/0.2458, allocations: 31.94 kB / 1.224 GB, free: 110.6 MB / 0.823 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.0001515/0.246, allocations: 132 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.506e-05/0.2461, allocations: 19.98 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2461, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.2461, allocations: 15.94 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.2463, allocations: 8 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.2465, allocations: 234 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.754e-05/0.2466, allocations: 0.6809 MB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.545e-05/0.2467, allocations: 12.48 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.2467, allocations: 7.438 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.9e-07/0.2467, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of Templates: time 0.002309/0.249, allocations: 0.7903 MB / 1.226 GB, free: 108.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)