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.0006678/0.0006678, allocations: 97.56 kB / 15.36 MB, free: 0.7305 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.0007033/0.0007033, allocations: 174.2 kB / 16.27 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.183/1.183, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001576/0.001576, allocations: 270.8 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8332/0.8332, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 16.22 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.001438/0.1202, allocations: 1.462 MB / 0.6866 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.1211, allocations: 0.7316 MB / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.1211, allocations: 0 / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.1212, allocations: 7.875 kB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.1213, allocations: 19.84 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.1215, allocations: 91.7 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1216, allocations: 125.1 kB / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.1217, allocations: 34.14 kB / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.1218, allocations: 52.48 kB / 0.6877 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.1219, allocations: 48.3 kB / 0.6877 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1219, allocations: 4 kB / 0.6877 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1221, allocations: 70.22 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.1221, allocations: 31.83 kB / 0.6878 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.1222, allocations: 65.44 kB / 0.6879 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1223, allocations: 159.5 kB / 0.688 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1224, allocations: 0 / 0.688 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1224, allocations: 3.938 kB / 0.688 GB, free: 12.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1224, allocations: 4.438 kB / 0.688 GB, free: 12.05 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.0005339/0.1229, allocations: 442.1 kB / 0.6885 GB, free: 11.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1229, allocations: 11.69 kB / 0.6885 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.123, allocations: 42.75 kB / 0.6885 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.123, allocations: 20.69 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.1231, allocations: 176.2 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.963e-05/0.1232, allocations: 71.91 kB / 0.6888 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1232, allocations: 12.38 kB / 0.6888 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.1235, allocations: 140.8 kB / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1235, allocations: 0 / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1235, allocations: 4.562 kB / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1235, allocations: 4 kB / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.1238, allocations: 134.5 kB / 0.6891 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.1244, allocations: 452.1 kB / 0.6895 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.1246, allocations: 94.53 kB / 0.6896 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.1248, allocations: 60.83 kB / 0.6896 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/0.1252, allocations: 327.1 kB / 0.69 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.1252, allocations: 42.69 kB / 0.69 GB, free: 9.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1253, allocations: 0 / 0.69 GB, free: 9.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001287/0.1265, allocations: 427.2 kB / 0.6904 GB, free: 9.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.1266, allocations: 51.41 kB / 0.6904 GB, free: 9.328 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1267, allocations: 176.1 kB / 0.6906 GB, free: 9.148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1267, allocations: 25.7 kB / 0.6906 GB, free: 9.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.1268, allocations: 107.9 kB / 0.6907 GB, free: 9.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.1268, allocations: 31.55 kB / 0.6908 GB, free: 8.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.1268, allocations: 25.7 kB / 0.6908 GB, free: 8.945 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.1269, allocations: 334.7 kB / 0.6911 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1271, allocations: 51.97 kB / 0.6912 GB, free: 8.559 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.1272, allocations: 58.72 kB / 0.6912 GB, free: 8.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.1275, allocations: 120.8 kB / 0.6913 GB, free: 8.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1275, allocations: 384 / 0.6913 GB, free: 8.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005834/0.1281, allocations: 234.3 kB / 0.6916 GB, free: 8.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1281, allocations: 11.94 kB / 0.6916 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1281, allocations: 0 / 0.6916 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.1285, allocations: 88.66 kB / 0.6917 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1286, allocations: 19.98 kB / 0.6917 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.1303, allocations: 1.622 MB / 0.6933 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1305, allocations: 19.83 kB / 0.6933 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1305, allocations: 4 kB / 0.6933 GB, free: 6.242 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 7.873e-05/0.1306, allocations: 122.4 kB / 0.6934 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.1306, allocations: 15.81 kB / 0.6934 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006127/0.1312, allocations: 231.7 kB / 0.6936 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1312, allocations: 7.938 kB / 0.6936 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.1312, allocations: 0 / 0.6936 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.1312, allocations: 0 / 0.6936 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/0.132, allocations: 0.5 MB / 0.6941 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.132, allocations: 0 / 0.6941 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.748e-05/0.1321, allocations: 19.98 kB / 0.6942 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003259/0.1325, allocations: 72.83 kB / 0.6942 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1325, allocations: 12 kB / 0.6942 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.134, allocations: 1.6 MB / 0.6958 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.134, allocations: 0 / 0.6958 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/0.1346, allocations: 325.1 kB / 0.6961 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.1347, allocations: 96.89 kB / 0.6962 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.1347, allocations: 0 / 0.6962 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1348, allocations: 12 kB / 0.6962 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.1349, allocations: 23.91 kB / 0.6962 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.1349, allocations: 0 / 0.6962 GB, free: 2.969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.662e-05/0.135, allocations: 133.4 kB / 0.6964 GB, free: 2.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.135, allocations: 0 / 0.6964 GB, free: 2.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.1353, allocations: 59.81 kB / 0.6964 GB, free: 2.781 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.0008466/0.1362, allocations: 0.8779 MB / 0.6973 GB, free: 1.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005509/0.1367, allocations: 266.5 kB / 0.6975 GB, free: 1.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1368, allocations: 0 / 0.6975 GB, free: 1.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.1371, allocations: 194.7 kB / 0.6977 GB, free: 1.391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1374, allocations: 20.92 kB / 0.6977 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.1397, allocations: 2.059 MB / 0.6997 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.1399, allocations: 0.7048 MB / 0.7004 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.03e-05/0.14, allocations: 12.55 kB / 0.7004 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.1401, allocations: 31.42 kB / 0.7005 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1401, allocations: 4 kB / 0.7005 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3673/0.5073, allocations: 3.73 MB / 0.7041 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/0.5076, allocations: 275.9 kB / 0.7044 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.114, allocations: 3.922 kB / 0.7044 GB, free: 10.62 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)