Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001199/0.001199, allocations: 107.7 kB / 15.99 MB, free: 5.91 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.00122/0.00122, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.292/1.292, allocations: 222.9 MB / 240.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 276.5 kB / 291 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8968/0.8968, allocations: 169.2 MB / 0.4985 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 89.92 kB / 0.5953 GB, free: 4.461 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1515, allocations: 86.97 MB / 0.6803 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002282/0.1539, allocations: 1.358 MB / 0.6816 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005427/0.1544, allocations: 303 kB / 0.6819 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.1545, allocations: 8 kB / 0.6819 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1545, allocations: 0 / 0.6819 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.119e-05/0.1546, allocations: 7.922 kB / 0.6819 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1549, allocations: 71.8 kB / 0.682 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.155, allocations: 31.86 kB / 0.682 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.155, allocations: 7.984 kB / 0.682 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.1551, allocations: 23.92 kB / 0.682 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.1552, allocations: 19.86 kB / 0.682 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1552, allocations: 4 kB / 0.682 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1554, allocations: 79.91 kB / 0.6821 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1554, allocations: 7.938 kB / 0.6821 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.1554, allocations: 7.938 kB / 0.6821 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.1555, allocations: 56.16 kB / 0.6822 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1555, allocations: 0 / 0.6822 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.093e-06/0.1556, allocations: 0 / 0.6822 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1556, allocations: 0 / 0.6822 GB, free: 11.5 MB / 0.5294 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.0003757/0.1559, allocations: 355.3 kB / 0.6825 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.156, allocations: 8.031 kB / 0.6825 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.156, allocations: 4.938 kB / 0.6825 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1561, allocations: 168.3 kB / 0.6827 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.1561, allocations: 384 / 0.6827 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.1562, allocations: 4.375 kB / 0.6827 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1563, allocations: 45.81 kB / 0.6828 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1563, allocations: 0 / 0.6828 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1563, allocations: 3.938 kB / 0.6828 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1563, allocations: 0 / 0.6828 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.614e-05/0.1564, allocations: 15.92 kB / 0.6828 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.1565, allocations: 161.7 kB / 0.6829 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.755e-05/0.1567, allocations: 38.52 kB / 0.683 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.1567, allocations: 12.91 kB / 0.683 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.1577, allocations: 1.175 MB / 0.6841 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1577, allocations: 46.48 kB / 0.6842 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.1578, allocations: 0 / 0.6842 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001526/0.1579, allocations: 49.62 kB / 0.6842 GB, free: 9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.158, allocations: 59.41 kB / 0.6843 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.233e-05/0.158, allocations: 113.8 kB / 0.6844 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1581, allocations: 25.7 kB / 0.6844 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.1581, allocations: 80.14 kB / 0.6845 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.1581, allocations: 11.81 kB / 0.6845 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1582, allocations: 17.72 kB / 0.6845 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.1583, allocations: 314.8 kB / 0.6848 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.1583, allocations: 7.984 kB / 0.6848 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.1583, allocations: 4 kB / 0.6848 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.1583, allocations: 17.08 kB / 0.6848 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1584, allocations: 4 kB / 0.6848 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.867e-05/0.1584, allocations: 53.61 kB / 0.6849 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1584, allocations: 8 kB / 0.6849 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1585, allocations: 0 / 0.6849 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1585, allocations: 0 / 0.6849 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.059e-05/0.1585, allocations: 8 kB / 0.6849 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1585, allocations: 0 / 0.6849 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.1586, allocations: 0 / 0.6849 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1586, allocations: 4 kB / 0.6849 GB, free: 8.23 MB / 0.5294 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 7.162e-05/0.1586, allocations: 116.2 kB / 0.685 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.1587, allocations: 11.84 kB / 0.685 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1588, allocations: 61.53 kB / 0.6851 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1588, allocations: 0 / 0.6851 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1588, allocations: 4 kB / 0.6851 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1588, allocations: 0 / 0.6851 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.857e-05/0.1589, allocations: 153.7 kB / 0.6852 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1589, allocations: 0 / 0.6852 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.159, allocations: 11.92 kB / 0.6853 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.159, allocations: 7.938 kB / 0.6853 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.159, allocations: 0 / 0.6853 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.159, allocations: 0 / 0.6853 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.159, allocations: 0 / 0.6853 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.935e-05/0.1591, allocations: 81.77 kB / 0.6853 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.1591, allocations: 88.95 kB / 0.6854 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1592, allocations: 3.984 kB / 0.6854 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.1592, allocations: 4 kB / 0.6854 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.1592, allocations: 0 / 0.6854 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1592, allocations: 0 / 0.6854 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.1593, allocations: 91.27 kB / 0.6855 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1593, allocations: 4 kB / 0.6855 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002019/0.1595, allocations: 27.94 kB / 0.6855 GB, free: 7.473 MB / 0.5294 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.0001769/0.1597, allocations: 123.2 kB / 0.6857 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.542e-05/0.1598, allocations: 19.98 kB / 0.6857 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1598, allocations: 0 / 0.6857 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.676e-05/0.1598, allocations: 11.94 kB / 0.6857 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.16, allocations: 1.125 kB / 0.6857 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.1603, allocations: 163.7 kB / 0.6859 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.1605, allocations: 0.6807 MB / 0.6865 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.1606, allocations: 11.44 kB / 0.6865 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of SimCode: time 2.11e-07/0.1606, allocations: 0 / 0.6865 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of Templates: time 0.001972/0.1625, allocations: 0.7362 MB / 0.6872 GB, free: 5.672 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)