Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.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_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic",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.001477/0.001477, allocations: 108 kB / 15.61 MB, free: 152 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.00169/0.00169, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002137/0.002137, allocations: 278.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9355/0.9355, allocations: 169.3 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 98.3 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1302, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.002818/0.1331, allocations: 1.744 MB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1342, allocations: 0.7483 MB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.1343, allocations: 0 / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.172e-05/0.1344, allocations: 19.73 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1345, allocations: 23.78 kB / 0.6828 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.1349, allocations: 103.7 kB / 0.6829 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.135, allocations: 131.6 kB / 0.683 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1351, allocations: 37.64 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1353, allocations: 59.78 kB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1354, allocations: 55.75 kB / 0.6831 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1354, allocations: 12 kB / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1356, allocations: 75.94 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.1356, allocations: 35.83 kB / 0.6832 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.1357, allocations: 55.72 kB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1359, allocations: 171.5 kB / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1359, allocations: 0 / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1359, allocations: 0 / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.136, allocations: 0 / 0.6835 GB, free: 13.36 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.0006583/0.1366, allocations: 454.9 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1367, allocations: 8.031 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.1367, allocations: 50.73 kB / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.1368, allocations: 12.84 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1369, allocations: 180.2 kB / 0.6841 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.137, allocations: 71.89 kB / 0.6842 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.137, allocations: 4.375 kB / 0.6842 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.1373, allocations: 135.5 kB / 0.6843 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1373, allocations: 3.984 kB / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1374, allocations: 0 / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1374, allocations: 8 kB / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.1377, allocations: 119.9 kB / 0.6845 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.1384, allocations: 448.1 kB / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.1386, allocations: 94.45 kB / 0.685 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1388, allocations: 56.83 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005281/0.1393, allocations: 315.1 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1393, allocations: 34.55 kB / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.1393, allocations: 0 / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001412/0.1408, allocations: 395.3 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.1408, allocations: 51.41 kB / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1409, allocations: 171.1 kB / 0.686 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.141, allocations: 25.7 kB / 0.686 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.141, allocations: 115.9 kB / 0.6861 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1411, allocations: 35.53 kB / 0.6861 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.1411, allocations: 29.7 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.1412, allocations: 326.8 kB / 0.6865 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1414, allocations: 47.97 kB / 0.6865 GB, free: 9.918 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1415, allocations: 55.97 kB / 0.6866 GB, free: 9.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1418, allocations: 108.8 kB / 0.6867 GB, free: 9.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1418, allocations: 0 / 0.6867 GB, free: 9.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006427/0.1425, allocations: 220.9 kB / 0.6869 GB, free: 9.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1425, allocations: 4 kB / 0.6869 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1425, allocations: 0 / 0.6869 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.143, allocations: 76.72 kB / 0.687 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1431, allocations: 27.92 kB / 0.687 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.1452, allocations: 1.769 MB / 0.6887 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.1453, allocations: 15.84 kB / 0.6887 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1453, allocations: 0 / 0.6887 GB, free: 7.496 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 (10): * Single equations (assignments): 9 * 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 9.178e-05/0.1454, allocations: 131.3 kB / 0.6888 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.1455, allocations: 7.906 kB / 0.6889 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006693/0.1461, allocations: 219.6 kB / 0.6891 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1461, allocations: 0 / 0.6891 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.1461, allocations: 0 / 0.6891 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1462, allocations: 0 / 0.6891 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008665/0.147, allocations: 492.4 kB / 0.6895 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.147, allocations: 0 / 0.6895 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.1471, allocations: 15.98 kB / 0.6896 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000363/0.1475, allocations: 72.81 kB / 0.6896 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1475, allocations: 8 kB / 0.6896 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.1494, allocations: 1.76 MB / 0.6913 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1494, allocations: 0 / 0.6913 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006402/0.15, allocations: 297 kB / 0.6916 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.1501, allocations: 96.86 kB / 0.6917 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1501, allocations: 3.938 kB / 0.6917 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1502, allocations: 11.98 kB / 0.6917 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.1503, allocations: 19.92 kB / 0.6918 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1503, allocations: 4 kB / 0.6918 GB, free: 4.129 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.095e-05/0.1504, allocations: 125.8 kB / 0.6919 GB, free: 4.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1504, allocations: 0 / 0.6919 GB, free: 4.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000395/0.1508, allocations: 51.92 kB / 0.6919 GB, free: 3.957 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 (6): * Single equations (assignments): 5 * 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.0009465/0.1518, allocations: 0.8662 MB / 0.6928 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006254/0.1524, allocations: 254.5 kB / 0.693 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1524, allocations: 4 kB / 0.693 GB, free: 2.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.1528, allocations: 194.6 kB / 0.6932 GB, free: 2.586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.1531, allocations: 12.23 kB / 0.6932 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.1558, allocations: 1.968 MB / 0.6951 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.156, allocations: 0.7045 MB / 0.6958 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.799e-05/0.1561, allocations: 8.562 kB / 0.6958 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.1562, allocations: 35.42 kB / 0.6959 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1562, allocations: 4.125 kB / 0.6959 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.397/1.553, allocations: 4.1 MB / 0.6999 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/16.02, allocations: 18.58 kB / 0.6999 GB, free: 11.84 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic.fmu > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe 2>&1)