Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.445/1.445, allocations: 287.4 MB / 302.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008653/0.0008654, allocations: 176.7 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.107/1.107, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007141/0.0007141, allocations: 95.81 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 11.31 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.000872/0.1393, allocations: 0.9938 MB / 0.9797 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003271/0.1396, allocations: 275.3 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.1397, allocations: 4 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.024e-05/0.1397, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.1398, allocations: 11.92 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.1399, allocations: 63.73 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.537e-05/0.14, allocations: 27.86 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 2.601e-05/0.14, allocations: 0 / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.1401, allocations: 27.92 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.1401, allocations: 19.91 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1402, allocations: 0 / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1403, allocations: 75.91 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-06/0.1403, allocations: 7.938 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.341e-05/0.1403, allocations: 33.7 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.649e-05/0.1404, allocations: 52.16 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1404, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1404, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.575e-06/0.1404, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 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.0002118/0.1406, allocations: 343.5 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.1407, allocations: 8.031 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.357e-05/0.1407, allocations: 34.73 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.842e-05/0.1407, allocations: 8.844 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.508e-05/0.1408, allocations: 168.3 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.1408, allocations: 4.375 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-06/0.1408, allocations: 384 / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.648e-05/0.1409, allocations: 42.19 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1409, allocations: 3.938 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-06/0.1409, allocations: 4 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1409, allocations: 0 / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.1409, allocations: 4 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.954e-05/0.141, allocations: 165.7 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.857e-05/0.1411, allocations: 34.58 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.1411, allocations: 8.922 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/0.1418, allocations: 1.187 MB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.1418, allocations: 34.5 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1418, allocations: 7.875 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001027/0.1419, allocations: 57.53 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.302e-05/0.1419, allocations: 51.41 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.825e-05/0.142, allocations: 105.8 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-06/0.142, allocations: 33.7 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.095e-05/0.142, allocations: 84.12 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.142, allocations: 7.906 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-06/0.142, allocations: 0 / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 2.904e-05/0.1421, allocations: 310.8 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.1421, allocations: 8 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/0.1421, allocations: 7.938 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.547e-05/0.1421, allocations: 21.12 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1421, allocations: 0 / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.918e-05/0.1422, allocations: 45.69 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.1422, allocations: 11.92 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.1422, allocations: 4 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.1422, allocations: 0 / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.1423, allocations: 8 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.1423, allocations: 4 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.1423, allocations: 0 / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.1423, allocations: 0 / 0.983 GB, free: 23.21 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.1423, allocations: 117.8 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.1424, allocations: 7.844 kB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.921e-05/0.1424, allocations: 65.58 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1425, allocations: 0 / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.1425, allocations: 0 / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1425, allocations: 0 / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.971e-05/0.1425, allocations: 157.7 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1425, allocations: 0 / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.1426, allocations: 4 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1426, allocations: 3.938 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.1426, allocations: 0 / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1426, allocations: 4 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1426, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.518e-05/0.1426, allocations: 80.97 kB / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.1427, allocations: 89.03 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.1427, allocations: 3.938 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.1427, allocations: 0 / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.1427, allocations: 3.984 kB / 0.9835 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1428, allocations: 4 kB / 0.9835 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.001e-05/0.1428, allocations: 91.58 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1428, allocations: 0 / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001626/0.143, allocations: 39.86 kB / 0.9836 GB, free: 22.45 MB / 0.6198 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 (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.0002136/0.1432, allocations: 0.6358 MB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.133e-05/0.1432, allocations: 16 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1432, allocations: 0 / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.1433, allocations: 11.98 kB / 0.9843 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.1434, allocations: 4 kB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.1437, allocations: 180.1 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.441e-05/0.1437, allocations: 0.6809 MB / 0.9851 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.1438, allocations: 4 kB / 0.9851 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.1438, allocations: 11.44 kB / 0.9851 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1438, allocations: 0 / 0.9851 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1358/0.2796, allocations: 1.412 MB / 0.9865 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/0.2798, allocations: 207.6 kB / 0.9867 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/1.779, allocations: 0 / 0.9867 GB, free: 19.33 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)