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.006916/0.006916, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001131/0.001131, allocations: 185.6 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.396/1.396, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.5798/0.5798, allocations: 95.49 MB / 365.4 MB, free: 9.773 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.001436/0.001436, allocations: 76.27 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1217, allocations: 69.09 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002212/0.124, allocations: 1.261 MB / 0.5723 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005358/0.1245, allocations: 283.3 kB / 0.5726 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.1246, allocations: 0 / 0.5726 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.1246, allocations: 0 / 0.5726 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.1247, allocations: 15.91 kB / 0.5726 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.125, allocations: 71.72 kB / 0.5727 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.966e-05/0.1251, allocations: 43.8 kB / 0.5727 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.1251, allocations: 7.984 kB / 0.5727 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.1252, allocations: 23.92 kB / 0.5727 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.1253, allocations: 7.984 kB / 0.5727 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1253, allocations: 3.938 kB / 0.5727 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1255, allocations: 87.84 kB / 0.5728 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.1255, allocations: 4 kB / 0.5728 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.1255, allocations: 15.92 kB / 0.5728 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1257, allocations: 75.78 kB / 0.5729 GB, free: 6.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1257, allocations: 0 / 0.5729 GB, free: 6.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1257, allocations: 0 / 0.5729 GB, free: 6.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1257, allocations: 0 / 0.5729 GB, free: 6.426 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.0004105/0.1261, allocations: 351.4 kB / 0.5733 GB, free: 6.031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1262, allocations: 19.92 kB / 0.5733 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.1262, allocations: 4.844 kB / 0.5733 GB, free: 6.008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1263, allocations: 168.3 kB / 0.5734 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1263, allocations: 4.375 kB / 0.5734 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.1263, allocations: 4.375 kB / 0.5734 GB, free: 5.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.1264, allocations: 38.25 kB / 0.5735 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1265, allocations: 192 / 0.5735 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1265, allocations: 3.938 kB / 0.5735 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.1265, allocations: 3.938 kB / 0.5735 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.1265, allocations: 15.98 kB / 0.5735 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.1267, allocations: 153.7 kB / 0.5737 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1268, allocations: 42.5 kB / 0.5737 GB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.1268, allocations: 8.922 kB / 0.5737 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/0.128, allocations: 1.179 MB / 0.5749 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.128, allocations: 42.55 kB / 0.5749 GB, free: 3.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.128, allocations: 0 / 0.5749 GB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001761/0.1282, allocations: 65.47 kB / 0.575 GB, free: 3.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1282, allocations: 51.41 kB / 0.575 GB, free: 3.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.2e-05/0.1283, allocations: 105.8 kB / 0.5751 GB, free: 3.734 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1284, allocations: 25.7 kB / 0.5751 GB, free: 3.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.1284, allocations: 80.14 kB / 0.5752 GB, free: 3.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.1284, allocations: 7.906 kB / 0.5752 GB, free: 3.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.1285, allocations: 21.72 kB / 0.5752 GB, free: 3.586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1286, allocations: 314.8 kB / 0.5755 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.1286, allocations: 4 kB / 0.5755 GB, free: 3.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.1286, allocations: 4 kB / 0.5755 GB, free: 3.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.1287, allocations: 12.86 kB / 0.5756 GB, free: 3.246 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1287, allocations: 0 / 0.5756 GB, free: 3.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.034e-05/0.1287, allocations: 53.53 kB / 0.5756 GB, free: 3.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1288, allocations: 8 kB / 0.5756 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1288, allocations: 7.938 kB / 0.5756 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1288, allocations: 0 / 0.5756 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.1289, allocations: 4 kB / 0.5756 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1289, allocations: 3.938 kB / 0.5756 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.1289, allocations: 7.984 kB / 0.5756 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.1289, allocations: 8 kB / 0.5756 GB, free: 3.148 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.409e-05/0.129, allocations: 105.8 kB / 0.5757 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.129, allocations: 4 kB / 0.5757 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.1291, allocations: 65.47 kB / 0.5758 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1291, allocations: 4 kB / 0.5758 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1292, allocations: 0 / 0.5758 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1292, allocations: 0 / 0.5758 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1293, allocations: 165.6 kB / 0.576 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1293, allocations: 0 / 0.576 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.1293, allocations: 8 kB / 0.576 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1293, allocations: 0 / 0.576 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1294, allocations: 3.938 kB / 0.576 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1294, allocations: 4 kB / 0.576 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1294, allocations: 320 / 0.576 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.707e-05/0.1295, allocations: 73.03 kB / 0.5761 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.1295, allocations: 85.09 kB / 0.5761 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1295, allocations: 7.938 kB / 0.5761 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.1296, allocations: 0 / 0.5761 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.1296, allocations: 432 / 0.5761 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1296, allocations: 4 kB / 0.5762 GB, free: 2.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.19e-05/0.1297, allocations: 99.19 kB / 0.5762 GB, free: 2.422 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1297, allocations: 0 / 0.5762 GB, free: 2.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1299, allocations: 27.94 kB / 0.5763 GB, free: 2.395 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.0001647/0.1301, allocations: 119.2 kB / 0.5764 GB, free: 2.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.1301, allocations: 23.97 kB / 0.5764 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1302, allocations: 0 / 0.5764 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.1302, allocations: 8 kB / 0.5764 GB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1304, allocations: 7.938 kB / 0.5764 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.1306, allocations: 118 kB / 0.5765 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.1309, allocations: 0.6807 MB / 0.5772 GB, free: 1.379 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.001e-05/0.1309, allocations: 11.98 kB / 0.5772 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.1309, allocations: 11.44 kB / 0.5772 GB, free: 1.355 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.131, allocations: 0 / 0.5772 GB, free: 1.355 MB / 446.1 MB Notification: Performance of Templates: time 0.002692/0.1336, allocations: 0.7823 MB / 0.578 GB, free: 0.582 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)