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.006943/0.006943, allocations: 96.7 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.001803/0.001803, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002392/0.002392, allocations: 271.2 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00251/0.00251, allocations: 99.84 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1451, allocations: 86.97 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002424/0.1475, allocations: 1.672 MB / 0.7675 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.1484, allocations: 0.604 MB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.1485, allocations: 0 / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.1485, allocations: 11.88 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.1488, allocations: 51.69 kB / 0.7682 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.149, allocations: 87.7 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1491, allocations: 103.7 kB / 0.7683 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1492, allocations: 36.23 kB / 0.7684 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.1493, allocations: 47.86 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.1494, allocations: 47.77 kB / 0.7685 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1494, allocations: 8 kB / 0.7685 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.1496, allocations: 107.9 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.1496, allocations: 23.86 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.1497, allocations: 47.73 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1499, allocations: 175.4 kB / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1499, allocations: 0 / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1499, allocations: 0 / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.1499, allocations: 0 / 0.7688 GB, free: 5.941 MB / 0.5606 GB 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.000591/0.1505, allocations: 442.8 kB / 0.7692 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1506, allocations: 12.03 kB / 0.7692 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.1506, allocations: 46.73 kB / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.1507, allocations: 8.891 kB / 0.7693 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.1508, allocations: 180.2 kB / 0.7695 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.183e-05/0.1509, allocations: 63.97 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1509, allocations: 16.36 kB / 0.7696 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.1512, allocations: 121.5 kB / 0.7697 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1512, allocations: 0 / 0.7697 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1512, allocations: 4 kB / 0.7697 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1512, allocations: 4 kB / 0.7697 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.1514, allocations: 95.88 kB / 0.7698 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.1521, allocations: 448.2 kB / 0.7702 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.1523, allocations: 78.64 kB / 0.7703 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.1524, allocations: 44.88 kB / 0.7703 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005206/0.1529, allocations: 311.2 kB / 0.7706 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1529, allocations: 30.56 kB / 0.7706 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1529, allocations: 4 kB / 0.7706 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001202/0.1541, allocations: 331.3 kB / 0.771 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1542, allocations: 55.41 kB / 0.771 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1544, allocations: 162.2 kB / 0.7712 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1544, allocations: 33.7 kB / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.1545, allocations: 112 kB / 0.7713 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1545, allocations: 19.84 kB / 0.7713 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.1545, allocations: 33.61 kB / 0.7714 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.1547, allocations: 326.8 kB / 0.7717 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.1548, allocations: 31.98 kB / 0.7717 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.1549, allocations: 35.97 kB / 0.7717 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.155, allocations: 81 kB / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.155, allocations: 0 / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005005/0.1555, allocations: 174.3 kB / 0.772 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1556, allocations: 8 kB / 0.772 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1556, allocations: 4 kB / 0.772 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.156, allocations: 68.73 kB / 0.7721 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.1561, allocations: 15.98 kB / 0.7721 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.1581, allocations: 1.774 MB / 0.7738 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.669e-05/0.1583, allocations: 23.98 kB / 0.7738 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1583, allocations: 0 / 0.7738 GB, free: 352 kB / 0.5606 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 (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.244e-05/0.1584, allocations: 114.5 kB / 0.7739 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1584, allocations: 11.94 kB / 0.7739 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.1589, allocations: 175 kB / 0.7741 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1589, allocations: 0 / 0.7741 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.1589, allocations: 0 / 0.7741 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1589, allocations: 4 kB / 0.7741 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2642/0.4231, allocations: 435.5 kB / 0.7745 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4232, allocations: 0.8125 kB / 0.7745 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.4232, allocations: 7.484 kB / 0.7745 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/0.4236, allocations: 72.64 kB / 0.7746 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4236, allocations: 8.25 kB / 0.7746 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.4253, allocations: 1.762 MB / 0.7763 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4253, allocations: 1.906 kB / 0.7763 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.4258, allocations: 267 kB / 0.7766 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.4259, allocations: 87.94 kB / 0.7767 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.4259, allocations: 1.609 kB / 0.7767 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.426, allocations: 10.89 kB / 0.7767 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.4261, allocations: 9.594 kB / 0.7767 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.4261, allocations: 8.375 kB / 0.7767 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.691e-05/0.4261, allocations: 128.6 kB / 0.7768 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4262, allocations: 4.219 kB / 0.7768 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005268/0.4267, allocations: 57.86 kB / 0.7769 GB, free: 12.68 MB / 0.5606 GB 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.0007416/0.4274, allocations: 0.8369 MB / 0.7777 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.428, allocations: 213.1 kB / 0.7779 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.428, allocations: 6.812 kB / 0.7779 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.4283, allocations: 171 kB / 0.7781 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.4286, allocations: 19.67 kB / 0.7781 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.4309, allocations: 1.857 MB / 0.7799 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.431, allocations: 0.6986 MB / 0.7806 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.343e-05/0.4311, allocations: 13.55 kB / 0.7806 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.4311, allocations: 27.31 kB / 0.7806 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.4311, allocations: 0 / 0.7806 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3084/0.7396, allocations: 4.059 MB / 0.7846 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.22, allocations: 15.36 kB / 0.7846 GB, free: 9.441 MB / 0.5606 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)