Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009903/0.0009905, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.001089/0.001089, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5572/0.5572, allocations: 95.58 MB / 366 MB, free: 10.41 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006249/0.0006249, allocations: 16 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2569, allocations: 70.34 MB / 0.505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.0009074/0.2578, allocations: 0.9487 MB / 0.5059 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.258, allocations: 98.31 kB / 0.506 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.2581, allocations: 0 / 0.506 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.083e-05/0.2581, allocations: 4 kB / 0.506 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.784e-05/0.2582, allocations: 11.92 kB / 0.506 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.2583, allocations: 23.95 kB / 0.5061 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.626e-05/0.2583, allocations: 11.97 kB / 0.5061 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.2584, allocations: 0 / 0.5061 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.2584, allocations: 4 kB / 0.5061 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.2585, allocations: 11.94 kB / 0.5061 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2585, allocations: 0 / 0.5061 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-05/0.2586, allocations: 51.94 kB / 0.5061 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-06/0.2586, allocations: 0 / 0.5061 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.2586, allocations: 29.7 kB / 0.5062 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.681e-05/0.2587, allocations: 19.97 kB / 0.5062 GB, free: 15.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.2587, allocations: 0 / 0.5062 GB, free: 15.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2587, allocations: 0 / 0.5062 GB, free: 15.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.2587, allocations: 0 / 0.5062 GB, free: 15.31 MB / 382.1 MB 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.0002762/0.259, allocations: 333.2 kB / 0.5065 GB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.259, allocations: 15.98 kB / 0.5065 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.2591, allocations: 4 kB / 0.5065 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.346e-05/0.2591, allocations: 163.1 kB / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2592, allocations: 0 / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.2592, allocations: 11.92 kB / 0.5067 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.888e-05/0.2592, allocations: 41.58 kB / 0.5067 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.2593, allocations: 4 kB / 0.5067 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.2593, allocations: 0 / 0.5067 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2593, allocations: 0 / 0.5067 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.2593, allocations: 7.938 kB / 0.5067 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.2594, allocations: 153.7 kB / 0.5069 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.387e-05/0.2595, allocations: 22.61 kB / 0.5069 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005178/0.26, allocations: 0.6169 MB / 0.5075 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.26, allocations: 30.56 kB / 0.5075 GB, free: 13.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.26, allocations: 0 / 0.5075 GB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001157/0.2601, allocations: 45.66 kB / 0.5076 GB, free: 13.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.626e-05/0.2602, allocations: 55.41 kB / 0.5076 GB, free: 13.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.149e-05/0.2602, allocations: 97.84 kB / 0.5077 GB, free: 13.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-06/0.2602, allocations: 25.7 kB / 0.5078 GB, free: 13.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.609e-05/0.2602, allocations: 80.14 kB / 0.5078 GB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.2603, allocations: 7.906 kB / 0.5078 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.2603, allocations: 0 / 0.5078 GB, free: 13.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.2603, allocations: 314.8 kB / 0.5081 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.2603, allocations: 8.109 kB / 0.5081 GB, free: 12.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.2603, allocations: 7.938 kB / 0.5081 GB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.346e-05/0.2604, allocations: 0 / 0.5081 GB, free: 12.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2604, allocations: 0 / 0.5081 GB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.818e-05/0.2604, allocations: 41.7 kB / 0.5082 GB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2604, allocations: 4 kB / 0.5082 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2604, allocations: 0 / 0.5082 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2605, allocations: 3.953 kB / 0.5082 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.593e-05/0.2605, allocations: 7.984 kB / 0.5082 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2605, allocations: 4.094 kB / 0.5082 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.2606, allocations: 3.906 kB / 0.5082 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.2606, allocations: 0 / 0.5082 GB, free: 12.89 MB / 382.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.2606, allocations: 113.8 kB / 0.5083 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-06/0.2606, allocations: 0 / 0.5083 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.497e-05/0.2607, allocations: 52.7 kB / 0.5084 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2607, allocations: 3.953 kB / 0.5084 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2607, allocations: 0 / 0.5084 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2607, allocations: 4.031 kB / 0.5084 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.783e-05/0.2608, allocations: 149.7 kB / 0.5085 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2608, allocations: 0 / 0.5085 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.2608, allocations: 8 kB / 0.5085 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2608, allocations: 3.938 kB / 0.5085 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.2608, allocations: 0 / 0.5085 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2608, allocations: 4 kB / 0.5085 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2608, allocations: 7.891 kB / 0.5085 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.159e-05/0.2609, allocations: 69.06 kB / 0.5086 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.2609, allocations: 77.11 kB / 0.5087 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2609, allocations: 4 kB / 0.5087 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.592e-05/0.261, allocations: 4 kB / 0.5087 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.261, allocations: 0 / 0.5087 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.261, allocations: 3.953 kB / 0.5087 GB, free: 12.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.705e-05/0.261, allocations: 83.45 kB / 0.5088 GB, free: 12.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.261, allocations: 0 / 0.5088 GB, free: 12.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.2612, allocations: 12 kB / 0.5088 GB, free: 12.2 MB / 382.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001076/0.2613, allocations: 115.2 kB / 0.5089 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.77e-05/0.2614, allocations: 15.98 kB / 0.5089 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2614, allocations: 0 / 0.5089 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.937e-06/0.2614, allocations: 7.938 kB / 0.5089 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.2616, allocations: 0 / 0.5089 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.2618, allocations: 114.8 kB / 0.509 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.651e-05/0.2619, allocations: 0.6733 MB / 0.5097 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.355e-05/0.2619, allocations: 7.969 kB / 0.5097 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.2619, allocations: 11.44 kB / 0.5097 GB, free: 11.2 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2619, allocations: 0 / 0.5097 GB, free: 11.2 MB / 382.1 MB Notification: Performance of Templates: time 0.002134/0.264, allocations: 0.5667 MB / 0.5103 GB, free: 10.63 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: