Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.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: "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 283 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9497/0.9497, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 96.95 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1424, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002713/0.1452, allocations: 1.673 MB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.1461, allocations: 0.5988 MB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.1462, allocations: 0 / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.1463, allocations: 15.8 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.1466, allocations: 35.77 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1468, allocations: 99.62 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1469, allocations: 103.7 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.147, allocations: 36.19 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.1471, allocations: 39.91 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.1472, allocations: 51.77 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1472, allocations: 8 kB / 0.6829 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1474, allocations: 95.92 kB / 0.683 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.1475, allocations: 27.91 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.1475, allocations: 51.72 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1478, allocations: 159.6 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1478, allocations: 7.938 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1478, allocations: 0 / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1478, allocations: 0 / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005764/0.1484, allocations: 435.2 kB / 0.6836 GB, free: 13.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1484, allocations: 8.031 kB / 0.6836 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.1485, allocations: 50.67 kB / 0.6837 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.1485, allocations: 12.75 kB / 0.6837 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1486, allocations: 176.3 kB / 0.6838 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.353e-05/0.1487, allocations: 75.88 kB / 0.6839 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1488, allocations: 12.38 kB / 0.6839 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.149, allocations: 119.9 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.149, allocations: 0 / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.149, allocations: 0 / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.149, allocations: 4 kB / 0.6841 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.1493, allocations: 95.94 kB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.1499, allocations: 436.2 kB / 0.6846 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1501, allocations: 86.62 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/0.1502, allocations: 36.89 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/0.1507, allocations: 323.1 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1508, allocations: 30.56 kB / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1508, allocations: 0 / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001204/0.152, allocations: 343.3 kB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.152, allocations: 51.41 kB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1522, allocations: 173.4 kB / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1522, allocations: 25.7 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.1523, allocations: 115.8 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.1523, allocations: 19.72 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1523, allocations: 25.7 kB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.1524, allocations: 326.8 kB / 0.686 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.263e-05/0.1525, allocations: 35.98 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.1526, allocations: 31.98 kB / 0.6861 GB, free: 10.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.1528, allocations: 76.83 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1528, allocations: 0 / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005154/0.1533, allocations: 186.2 kB / 0.6864 GB, free: 10.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1534, allocations: 4 kB / 0.6864 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1534, allocations: 0 / 0.6864 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004436/0.1538, allocations: 76.73 kB / 0.6864 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.1539, allocations: 8 kB / 0.6864 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.1559, allocations: 1.771 MB / 0.6882 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.156, allocations: 15.83 kB / 0.6882 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1561, allocations: 4 kB / 0.6882 GB, free: 8.016 MB / 494.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/0.1561, allocations: 119.2 kB / 0.6883 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1562, allocations: 15.97 kB / 0.6883 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/0.1567, allocations: 171.3 kB / 0.6885 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1567, allocations: 4 kB / 0.6885 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1568, allocations: 3.984 kB / 0.6885 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1568, allocations: 4 kB / 0.6885 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.1575, allocations: 436 kB / 0.6889 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1575, allocations: 0 / 0.6889 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.1575, allocations: 12.02 kB / 0.6889 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/0.1579, allocations: 64.8 kB / 0.689 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1579, allocations: 4 kB / 0.689 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.1597, allocations: 1.764 MB / 0.6907 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1598, allocations: 4.141 kB / 0.6907 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.1603, allocations: 273 kB / 0.691 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.1603, allocations: 85.02 kB / 0.6911 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1604, allocations: 7.922 kB / 0.6911 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1605, allocations: 4 kB / 0.6911 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.1605, allocations: 11.98 kB / 0.6911 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.1606, allocations: 11.88 kB / 0.6911 GB, free: 4.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.1606, allocations: 122.8 kB / 0.6912 GB, free: 4.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1607, allocations: 0 / 0.6912 GB, free: 4.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000397/0.1611, allocations: 55.94 kB / 0.6913 GB, free: 4.613 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000873/0.1619, allocations: 0.8466 MB / 0.6921 GB, free: 3.734 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005151/0.1625, allocations: 206.5 kB / 0.6923 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1625, allocations: 0 / 0.6923 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.1628, allocations: 174.7 kB / 0.6925 GB, free: 3.336 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1631, allocations: 16 kB / 0.6925 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.1655, allocations: 1.866 MB / 0.6943 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1658, allocations: 0.7006 MB / 0.695 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.1658, allocations: 12.88 kB / 0.695 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.1659, allocations: 27.44 kB / 0.695 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1659, allocations: 4 kB / 0.695 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.194/1.36, allocations: 3.966 MB / 0.6989 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.41, allocations: 15.89 kB / 0.6989 GB, free: 12.84 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static.fmu > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)