Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002303/0.002303, allocations: 189 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 69.62 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3521, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002662/0.3548, allocations: 1.351 MB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006156/0.3554, allocations: 303 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.3555, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.3555, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.3556, allocations: 19.91 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.3559, allocations: 59.86 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.356, allocations: 35.8 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.3561, allocations: 11.98 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3562, allocations: 23.92 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.3563, allocations: 11.92 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3563, allocations: 0 / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.3565, allocations: 83.91 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.3565, allocations: 7.938 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.3565, allocations: 7.938 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.3567, allocations: 84.05 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3567, allocations: 4 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3567, allocations: 4 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3567, allocations: 3.938 kB / 1.07 GB, free: 8.789 MB / 0.8262 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.0004288/0.3572, allocations: 347.4 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3572, allocations: 8.031 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.3573, allocations: 4.844 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.3574, allocations: 168.3 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.3574, allocations: 384 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.3574, allocations: 384 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.3575, allocations: 45.81 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.3576, allocations: 4 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3576, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3576, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.3576, allocations: 11.98 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.3578, allocations: 157.7 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.047e-05/0.3579, allocations: 38.5 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.358, allocations: 12.91 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.3591, allocations: 1.191 MB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3592, allocations: 34.5 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3592, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001713/0.3594, allocations: 57.59 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.3594, allocations: 51.41 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.677e-05/0.3595, allocations: 113.8 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3595, allocations: 25.7 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.3596, allocations: 84.14 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.3596, allocations: 11.83 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.3596, allocations: 17.72 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3598, allocations: 314.8 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.3598, allocations: 8 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/0.3598, allocations: 4 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.3599, allocations: 16.86 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3599, allocations: 0 / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.298e-05/0.3599, allocations: 53.53 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.36, allocations: 4 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.36, allocations: 0 / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.36, allocations: 3.938 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.207e-05/0.36, allocations: 4 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3601, allocations: 7.984 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.3601, allocations: 4 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3601, allocations: 4.312 kB / 1.072 GB, free: 5.531 MB / 0.8262 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.509e-05/0.3602, allocations: 109.8 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.3602, allocations: 7.938 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.3603, allocations: 57.58 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3604, allocations: 0 / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3604, allocations: 7.938 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3604, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3605, allocations: 165.7 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3605, allocations: 0 / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.3606, allocations: 11.88 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3606, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3606, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3606, allocations: 3.938 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3606, allocations: 0 / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.3607, allocations: 77.41 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.3608, allocations: 89.03 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3608, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.3608, allocations: 4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.3608, allocations: 4.047 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.3609, allocations: 3.984 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.259e-05/0.3609, allocations: 83.27 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3609, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001989/0.3611, allocations: 28 kB / 1.073 GB, free: 4.781 MB / 0.8262 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.0001938/0.3613, allocations: 135.1 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.076e-05/0.3614, allocations: 15.98 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3614, allocations: 0 / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-05/0.3615, allocations: 8 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3617, allocations: 4 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.362, allocations: 149.8 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3623, allocations: 0.6768 MB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.3623, allocations: 7.984 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.3624, allocations: 15.44 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3624, allocations: 4 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of Templates: time 0.002922/0.3653, allocations: 0.7872 MB / 1.075 GB, free: 2.93 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)