Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.001069/0.001069, allocations: 109.4 kB / 15.69 MB, free: 128 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.001077/0.001078, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.27/1.27, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 287 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.912/0.912, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 101.4 kB / 0.5955 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1463, allocations: 86.98 MB / 0.6804 GB, free: 448 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003088/0.1494, allocations: 1.875 MB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1514, allocations: 1.581 MB / 0.6838 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.1515, allocations: 4 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.1517, allocations: 27.78 kB / 0.6839 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.1519, allocations: 75.55 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1523, allocations: 177.3 kB / 0.6841 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.1526, allocations: 281.4 kB / 0.6844 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1528, allocations: 29.11 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.1529, allocations: 99.69 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1531, allocations: 109.5 kB / 0.6846 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.1531, allocations: 20 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1533, allocations: 91.95 kB / 0.6847 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.59e-05/0.1534, allocations: 83.8 kB / 0.6848 GB, free: 12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1535, allocations: 127.2 kB / 0.6849 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.1538, allocations: 322.9 kB / 0.6852 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1538, allocations: 0 / 0.6852 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1538, allocations: 0 / 0.6852 GB, free: 11.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1539, allocations: 0 / 0.6852 GB, free: 11.55 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007027/0.1546, allocations: 0.554 MB / 0.6857 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1546, allocations: 12.03 kB / 0.6858 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/0.1547, allocations: 62.73 kB / 0.6858 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1548, allocations: 36.5 kB / 0.6859 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1551, allocations: 274.7 kB / 0.6861 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1551, allocations: 8.375 kB / 0.6861 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.1551, allocations: 31.91 kB / 0.6862 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.1555, allocations: 232.9 kB / 0.6864 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1555, allocations: 0 / 0.6864 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1556, allocations: 19.98 kB / 0.6864 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1556, allocations: 4 kB / 0.6864 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/0.1564, allocations: 0.7451 MB / 0.6871 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.1573, allocations: 0.6368 MB / 0.6877 GB, free: 8.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.1578, allocations: 313.9 kB / 0.688 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.1579, allocations: 105.4 kB / 0.6881 GB, free: 8.367 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.158, allocations: 24.23 kB / 0.6882 GB, free: 8.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000345/0.1583, allocations: 180.6 kB / 0.6883 GB, free: 8.156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.824e-06/0.1583, allocations: 0 / 0.6883 GB, free: 8.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006194/0.159, allocations: 381.5 kB / 0.6887 GB, free: 7.777 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.1591, allocations: 136.5 kB / 0.6888 GB, free: 7.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.1593, allocations: 313 kB / 0.6891 GB, free: 7.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.1594, allocations: 33.7 kB / 0.6892 GB, free: 7.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.1594, allocations: 128.6 kB / 0.6893 GB, free: 7.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.1595, allocations: 114.4 kB / 0.6894 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/0.1596, allocations: 65.69 kB / 0.6895 GB, free: 6.945 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1597, allocations: 338.8 kB / 0.6898 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1599, allocations: 83.81 kB / 0.6899 GB, free: 6.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.1601, allocations: 123.4 kB / 0.69 GB, free: 6.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.1604, allocations: 218.3 kB / 0.6902 GB, free: 6.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.1604, allocations: 0 / 0.6902 GB, free: 6.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004049/0.1608, allocations: 289 kB / 0.6905 GB, free: 5.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1608, allocations: 11.94 kB / 0.6905 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1608, allocations: 0 / 0.6905 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1608, allocations: 0 / 0.6905 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.161, allocations: 63.89 kB / 0.6905 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1611, allocations: 4 kB / 0.6905 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.1612, allocations: 27.78 kB / 0.6906 GB, free: 5.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.1612, allocations: 15.98 kB / 0.6906 GB, free: 5.766 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.1614, allocations: 167 kB / 0.6907 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.1615, allocations: 35.56 kB / 0.6908 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006202/0.1621, allocations: 384.9 kB / 0.6911 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1621, allocations: 4 kB / 0.6911 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1621, allocations: 0 / 0.6911 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1621, allocations: 3.984 kB / 0.6912 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.1624, allocations: 349.1 kB / 0.6915 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1624, allocations: 0 / 0.6915 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.1626, allocations: 63.91 kB / 0.6915 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1626, allocations: 7.938 kB / 0.6916 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1626, allocations: 8 kB / 0.6916 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.1626, allocations: 4 kB / 0.6916 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1626, allocations: 0 / 0.6916 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.1631, allocations: 325.6 kB / 0.6919 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1632, allocations: 144.7 kB / 0.692 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.1632, allocations: 7.938 kB / 0.692 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1634, allocations: 27.97 kB / 0.692 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.1635, allocations: 28 kB / 0.6921 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.1635, allocations: 15.98 kB / 0.6921 GB, free: 4.113 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.1637, allocations: 232.5 kB / 0.6923 GB, free: 3.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1637, allocations: 0 / 0.6923 GB, free: 3.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.164, allocations: 67.98 kB / 0.6924 GB, free: 3.82 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001434/0.1654, allocations: 1.165 MB / 0.6935 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003695/0.1658, allocations: 231.7 kB / 0.6937 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1658, allocations: 0 / 0.6937 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.166, allocations: 127.8 kB / 0.6939 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.1663, allocations: 48.78 kB / 0.6939 GB, free: 2.383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.1689, allocations: 2.523 MB / 0.6964 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1692, allocations: 0.7614 MB / 0.6971 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003022/0.1695, allocations: 150.8 kB / 0.6973 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1697, allocations: 99.39 kB / 0.6973 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1697, allocations: 0 / 0.6973 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.1918, allocations: 6.002 MB / 0.7032 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.74, allocations: 18.89 kB / 0.7032 GB, free: 8.914 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)