Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.008048/0.008048, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001852/0.001852, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.6017/0.6017, allocations: 95.48 MB / 365.4 MB, free: 9.707 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.001577/0.001577, allocations: 76.53 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.132, allocations: 69.08 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002281/0.1343, allocations: 1.26 MB / 0.5723 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004976/0.1348, allocations: 279.3 kB / 0.5726 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.1349, allocations: 0 / 0.5726 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.1349, allocations: 3.938 kB / 0.5726 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.135, allocations: 7.922 kB / 0.5726 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1353, allocations: 83.7 kB / 0.5727 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.1354, allocations: 39.86 kB / 0.5727 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.1354, allocations: 0 / 0.5727 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1355, allocations: 35.91 kB / 0.5727 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.1356, allocations: 7.938 kB / 0.5727 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.1356, allocations: 0 / 0.5727 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.1358, allocations: 87.91 kB / 0.5728 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.1358, allocations: 11.91 kB / 0.5728 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1359, allocations: 7.938 kB / 0.5728 GB, free: 6.492 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.136, allocations: 79.78 kB / 0.5729 GB, free: 6.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1361, allocations: 0 / 0.5729 GB, free: 6.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1361, allocations: 0 / 0.5729 GB, free: 6.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1361, allocations: 0 / 0.5729 GB, free: 6.414 MB / 446.1 MB 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.0003918/0.1365, allocations: 351.4 kB / 0.5733 GB, free: 6.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1365, allocations: 19.92 kB / 0.5733 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.1365, allocations: 8.844 kB / 0.5733 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1367, allocations: 176.3 kB / 0.5735 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1367, allocations: 384 / 0.5735 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1367, allocations: 384 / 0.5735 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.1368, allocations: 46.19 kB / 0.5735 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1368, allocations: 192 / 0.5735 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1368, allocations: 3.938 kB / 0.5735 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1368, allocations: 0 / 0.5735 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.1369, allocations: 15.92 kB / 0.5735 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.1371, allocations: 161.7 kB / 0.5737 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.823e-05/0.1371, allocations: 30.61 kB / 0.5737 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.1372, allocations: 12.92 kB / 0.5737 GB, free: 5.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.1383, allocations: 1.183 MB / 0.5749 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1384, allocations: 38.5 kB / 0.5749 GB, free: 3.961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1384, allocations: 0 / 0.5749 GB, free: 3.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001596/0.1386, allocations: 57.53 kB / 0.575 GB, free: 3.898 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.1386, allocations: 51.41 kB / 0.575 GB, free: 3.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.1387, allocations: 105.8 kB / 0.5751 GB, free: 3.723 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1387, allocations: 29.7 kB / 0.5751 GB, free: 3.688 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.1387, allocations: 84.14 kB / 0.5752 GB, free: 3.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.1388, allocations: 7.906 kB / 0.5752 GB, free: 3.594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.1388, allocations: 17.7 kB / 0.5752 GB, free: 3.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1389, allocations: 314.8 kB / 0.5755 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.1389, allocations: 4 kB / 0.5755 GB, free: 3.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.1389, allocations: 3.938 kB / 0.5756 GB, free: 3.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.139, allocations: 16.86 kB / 0.5756 GB, free: 3.227 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.139, allocations: 0 / 0.5756 GB, free: 3.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.778e-05/0.1391, allocations: 49.59 kB / 0.5756 GB, free: 3.172 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1391, allocations: 12 kB / 0.5756 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1391, allocations: 3.938 kB / 0.5756 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1391, allocations: 0 / 0.5756 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.1392, allocations: 7.984 kB / 0.5756 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1392, allocations: 320 / 0.5756 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.1392, allocations: 0 / 0.5756 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1392, allocations: 4 kB / 0.5756 GB, free: 3.145 MB / 446.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 (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 6.368e-05/0.1393, allocations: 109.8 kB / 0.5757 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.1393, allocations: 8 kB / 0.5758 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.1395, allocations: 61.52 kB / 0.5758 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1395, allocations: 4 kB / 0.5758 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1395, allocations: 3.984 kB / 0.5758 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1395, allocations: 0 / 0.5758 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.1396, allocations: 161.6 kB / 0.576 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1396, allocations: 3.938 kB / 0.576 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.1397, allocations: 8 kB / 0.576 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1397, allocations: 0 / 0.576 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1397, allocations: 7.938 kB / 0.576 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1397, allocations: 0 / 0.576 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1397, allocations: 384 / 0.576 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.531e-05/0.1398, allocations: 84.95 kB / 0.5761 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.1399, allocations: 85.09 kB / 0.5762 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1399, allocations: 7.938 kB / 0.5762 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.1399, allocations: 0 / 0.5762 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.14, allocations: 0 / 0.5762 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.14, allocations: 12 kB / 0.5762 GB, free: 2.488 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.446e-05/0.14, allocations: 83.27 kB / 0.5763 GB, free: 2.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.14, allocations: 0 / 0.5763 GB, free: 2.406 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1402, allocations: 27.94 kB / 0.5763 GB, free: 2.379 MB / 446.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 (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.0001843/0.1404, allocations: 123.2 kB / 0.5764 GB, free: 2.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.1405, allocations: 19.92 kB / 0.5764 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1405, allocations: 0 / 0.5764 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.1406, allocations: 12 kB / 0.5764 GB, free: 2.219 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.1408, allocations: 7.938 kB / 0.5764 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.141, allocations: 114.1 kB / 0.5765 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1413, allocations: 0.6807 MB / 0.5772 GB, free: 1.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.1414, allocations: 8 kB / 0.5772 GB, free: 1.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.1414, allocations: 11.44 kB / 0.5772 GB, free: 1.344 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1414, allocations: 0 / 0.5772 GB, free: 1.344 MB / 446.1 MB Notification: Performance of Templates: time 0.00315/0.1445, allocations: 0.7807 MB / 0.578 GB, free: 0.5664 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)