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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001124/0.001124, allocations: 194.3 kB / 16.14 MB, free: 6.707 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 275.2 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8857/0.8857, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001635, allocations: 97.42 kB / 0.5946 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1241, allocations: 86.98 MB / 0.6795 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.002609/0.1267, allocations: 1.811 MB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1278, allocations: 0.7451 MB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.1278, allocations: 4 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.1279, allocations: 3.938 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.222e-05/0.128, allocations: 20.41 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1283, allocations: 81.38 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1284, allocations: 127.5 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1285, allocations: 43.75 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.704e-05/0.1286, allocations: 47.84 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.1287, allocations: 64.23 kB / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1287, allocations: 15.94 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1289, allocations: 67.94 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.1289, allocations: 19.92 kB / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.129, allocations: 55.72 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1292, allocations: 163.5 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1292, allocations: 0 / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1292, allocations: 0 / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1292, allocations: 4 kB / 0.6827 GB, free: 13.81 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.0006053/0.1298, allocations: 451 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1299, allocations: 8.031 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.1299, allocations: 50.67 kB / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.13, allocations: 12.84 kB / 0.6832 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.1301, allocations: 178.6 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/0.1302, allocations: 67.91 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.1302, allocations: 12.38 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.1305, allocations: 135.5 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1305, allocations: 0 / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1305, allocations: 8 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1305, allocations: 0 / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.1308, allocations: 119.9 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.1315, allocations: 456 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1317, allocations: 86.53 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1318, allocations: 48.83 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.1323, allocations: 327.1 kB / 0.6846 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.1323, allocations: 38.69 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1324, allocations: 0 / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001331/0.1337, allocations: 387.3 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.1337, allocations: 51.41 kB / 0.685 GB, free: 11.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1339, allocations: 172.1 kB / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1339, allocations: 25.7 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.134, allocations: 111.9 kB / 0.6853 GB, free: 10.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.134, allocations: 27.94 kB / 0.6854 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.134, allocations: 29.7 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.1341, allocations: 330.8 kB / 0.6857 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1343, allocations: 47.97 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1344, allocations: 51.91 kB / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1347, allocations: 119.5 kB / 0.6859 GB, free: 10.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1347, allocations: 0 / 0.6859 GB, free: 10.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006333/0.1353, allocations: 218.2 kB / 0.6861 GB, free: 10 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1354, allocations: 8 kB / 0.6861 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1354, allocations: 0 / 0.6861 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004269/0.1358, allocations: 76.73 kB / 0.6862 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1359, allocations: 19.98 kB / 0.6862 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.1378, allocations: 1.584 MB / 0.6878 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.1379, allocations: 19.86 kB / 0.6878 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1379, allocations: 4 kB / 0.6878 GB, free: 8.148 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 8.265e-05/0.138, allocations: 122.5 kB / 0.6879 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.138, allocations: 15.91 kB / 0.6879 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006309/0.1387, allocations: 215.7 kB / 0.6881 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.1387, allocations: 11.94 kB / 0.6881 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1387, allocations: 0 / 0.6881 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1387, allocations: 0 / 0.6881 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008313/0.1395, allocations: 495.8 kB / 0.6886 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1396, allocations: 0 / 0.6886 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.1396, allocations: 15.98 kB / 0.6886 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003569/0.14, allocations: 68.83 kB / 0.6887 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.14, allocations: 8 kB / 0.6887 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.1417, allocations: 1.58 MB / 0.6902 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1417, allocations: 4.031 kB / 0.6903 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.1423, allocations: 297 kB / 0.6905 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.1424, allocations: 101 kB / 0.6906 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1424, allocations: 3.938 kB / 0.6906 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.1425, allocations: 7.984 kB / 0.6906 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.1426, allocations: 15.98 kB / 0.6907 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1426, allocations: 0 / 0.6907 GB, free: 4.961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.1427, allocations: 133.2 kB / 0.6908 GB, free: 4.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1427, allocations: 0 / 0.6908 GB, free: 4.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.1431, allocations: 59.86 kB / 0.6908 GB, free: 4.773 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.0009072/0.144, allocations: 0.8545 MB / 0.6917 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005809/0.1446, allocations: 254.4 kB / 0.6919 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1446, allocations: 4 kB / 0.6919 GB, free: 3.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.145, allocations: 182.6 kB / 0.6921 GB, free: 3.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.1453, allocations: 15.98 kB / 0.6921 GB, free: 3.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.1479, allocations: 1.996 MB / 0.6941 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.1481, allocations: 0.7009 MB / 0.6947 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.991e-05/0.1481, allocations: 16.64 kB / 0.6948 GB, free: 0.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.1482, allocations: 31.42 kB / 0.6948 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1482, allocations: 0 / 0.6948 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6913/0.8395, allocations: 3.809 MB / 0.6985 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/0.8398, allocations: 283.1 kB / 0.6988 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.738, allocations: 4.062 kB / 0.6988 GB, free: 12.61 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)