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.001416/0.001416, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001633/0.001633, allocations: 187 kB / 16.25 MB, free: 6.617 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 294.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8808/0.8808, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 97.34 kB / 0.5948 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1306, allocations: 86.97 MB / 0.6797 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.002685/0.1333, allocations: 1.813 MB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009862/0.1343, allocations: 0.7316 MB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.1343, allocations: 0.625 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.1344, allocations: 7.875 kB / 0.6822 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.1345, allocations: 25.72 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1348, allocations: 87.77 kB / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1349, allocations: 135.6 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.135, allocations: 45.61 kB / 0.6825 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.1351, allocations: 55.84 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.251e-05/0.1352, allocations: 63.73 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1353, allocations: 12 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1354, allocations: 71.94 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.1354, allocations: 31.86 kB / 0.6827 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.1355, allocations: 59.72 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1357, allocations: 171.5 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1357, allocations: 0 / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1357, allocations: 0 / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1357, allocations: 0 / 0.6829 GB, free: 13.7 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.0006094/0.1363, allocations: 447 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.1364, allocations: 16.03 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.1364, allocations: 46.73 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.1365, allocations: 8.844 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1366, allocations: 188.1 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.566e-05/0.1367, allocations: 67.91 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1367, allocations: 8.375 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.137, allocations: 131.5 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.137, allocations: 0 / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.137, allocations: 8 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.137, allocations: 4 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.1373, allocations: 119.9 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.138, allocations: 452 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1382, allocations: 86.53 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.1383, allocations: 52.83 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004955/0.1388, allocations: 323.1 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.1389, allocations: 30.56 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1389, allocations: 0 / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001346/0.1402, allocations: 391.3 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.1403, allocations: 55.41 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1404, allocations: 172.1 kB / 0.6854 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1404, allocations: 29.69 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.1405, allocations: 111.9 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1405, allocations: 27.56 kB / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.1406, allocations: 29.7 kB / 0.6856 GB, free: 10.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1407, allocations: 326.8 kB / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1408, allocations: 55.97 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.141, allocations: 50.09 kB / 0.686 GB, free: 10.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.1412, allocations: 108.8 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1413, allocations: 0 / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006156/0.1419, allocations: 222.2 kB / 0.6863 GB, free: 9.883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1419, allocations: 6.188 kB / 0.6863 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1419, allocations: 0 / 0.6863 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.1423, allocations: 80.67 kB / 0.6864 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1425, allocations: 19.98 kB / 0.6864 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.1445, allocations: 1.771 MB / 0.6882 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.1447, allocations: 19.88 kB / 0.6882 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1447, allocations: 3.984 kB / 0.6882 GB, free: 7.84 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.964e-05/0.1448, allocations: 121.9 kB / 0.6883 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1449, allocations: 7.906 kB / 0.6883 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.1455, allocations: 220 kB / 0.6885 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1455, allocations: 0 / 0.6885 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.1455, allocations: 3.938 kB / 0.6885 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1455, allocations: 0 / 0.6885 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.1464, allocations: 496 kB / 0.689 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1464, allocations: 3.938 kB / 0.689 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.082e-05/0.1465, allocations: 15.98 kB / 0.689 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000354/0.1469, allocations: 72.83 kB / 0.6891 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1469, allocations: 0 / 0.6891 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.1487, allocations: 1.76 MB / 0.6908 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1487, allocations: 0 / 0.6908 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.1494, allocations: 301 kB / 0.6911 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.1494, allocations: 92.86 kB / 0.6912 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1494, allocations: 3.938 kB / 0.6912 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1496, allocations: 19.98 kB / 0.6912 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.1496, allocations: 7.984 kB / 0.6912 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1496, allocations: 11.98 kB / 0.6912 GB, free: 4.473 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.972e-05/0.1497, allocations: 129.2 kB / 0.6914 GB, free: 4.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1497, allocations: 0 / 0.6914 GB, free: 4.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.1501, allocations: 51.94 kB / 0.6914 GB, free: 4.297 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.0009506/0.1511, allocations: 0.8688 MB / 0.6923 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006071/0.1517, allocations: 255.9 kB / 0.6925 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1517, allocations: 0 / 0.6925 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.1521, allocations: 190.7 kB / 0.6927 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.1524, allocations: 16.8 kB / 0.6927 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.155, allocations: 1.998 MB / 0.6946 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1553, allocations: 0.7006 MB / 0.6953 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.1554, allocations: 28.78 kB / 0.6954 GB, free: 76 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.1554, allocations: 31.42 kB / 0.6954 GB, free: 44 kB / 494.1 MB Notification: Performance of SimCode: time 1.372e-06/0.1554, allocations: 0 / 0.6954 GB, free: 44 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.838/1.994, allocations: 3.962 MB / 0.6993 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/1.994, allocations: 269.7 kB / 0.6995 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.844/4.838, allocations: 0 / 0.6995 GB, free: 11.99 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)