Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_dev_IDEAS_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.001348/0.001348, allocations: 108 kB / 15.61 MB, free: 152 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.001503/0.001503, allocations: 196.1 kB / 16.53 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.224/1.224, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8786/0.8786, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 67.97 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1477, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003984/0.1517, allocations: 1.844 MB / 0.5863 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002818/0.1546, allocations: 1.577 MB / 0.5878 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1547, allocations: 0 / 0.5878 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.155, allocations: 27.78 kB / 0.5879 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.1555, allocations: 75.61 kB / 0.5879 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/0.1562, allocations: 166.2 kB / 0.5881 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.1566, allocations: 285.3 kB / 0.5884 GB, free: 480 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.1568, allocations: 33.34 kB / 0.5884 GB, free: 448 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.157, allocations: 91.75 kB / 0.5885 GB, free: 356 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.1574, allocations: 103.7 kB / 0.5886 GB, free: 252 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.985e-05/0.1575, allocations: 20 kB / 0.5886 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.1578, allocations: 87.95 kB / 0.5887 GB, free: 144 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1579, allocations: 83.8 kB / 0.5888 GB, free: 60 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.1581, allocations: 123.3 kB / 0.5889 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.1586, allocations: 315 kB / 0.5892 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1586, allocations: 0 / 0.5892 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1587, allocations: 4 kB / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.1587, allocations: 0 / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001075/0.1598, allocations: 0.5578 MB / 0.5897 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1598, allocations: 8.031 kB / 0.5897 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.673e-05/0.1599, allocations: 54.73 kB / 0.5898 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.1602, allocations: 32.64 kB / 0.5898 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.1606, allocations: 274.7 kB / 0.5901 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.1607, allocations: 16.36 kB / 0.5901 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.1607, allocations: 15.94 kB / 0.5901 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.1613, allocations: 240.5 kB / 0.5903 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1614, allocations: 0 / 0.5903 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.1614, allocations: 8 kB / 0.5903 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1614, allocations: 4 kB / 0.5903 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.1628, allocations: 0.7451 MB / 0.5911 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.1644, allocations: 0.6407 MB / 0.5917 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008453/0.1653, allocations: 315.1 kB / 0.592 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.1655, allocations: 113.4 kB / 0.5921 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.518e-05/0.1656, allocations: 16.25 kB / 0.5921 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/0.1662, allocations: 183.4 kB / 0.5923 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/0.1662, allocations: 0 / 0.5923 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001074/0.1673, allocations: 378.4 kB / 0.5927 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.1674, allocations: 132.5 kB / 0.5928 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.1678, allocations: 309 kB / 0.5931 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.1679, allocations: 33.7 kB / 0.5931 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.168, allocations: 140.6 kB / 0.5932 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.1682, allocations: 114.3 kB / 0.5934 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1683, allocations: 65.69 kB / 0.5934 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1685, allocations: 342.8 kB / 0.5937 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.1688, allocations: 83.89 kB / 0.5938 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.1691, allocations: 125.8 kB / 0.5939 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.1697, allocations: 221.1 kB / 0.5942 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1697, allocations: 0 / 0.5942 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007483/0.1704, allocations: 277 kB / 0.5944 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1705, allocations: 4 kB / 0.5944 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1705, allocations: 4 kB / 0.5944 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1705, allocations: 3.938 kB / 0.5944 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.1709, allocations: 59.91 kB / 0.5945 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1709, allocations: 4 kB / 0.5945 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.1712, allocations: 31.73 kB / 0.5945 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.1712, allocations: 12 kB / 0.5945 GB, free: 9.852 MB / 0.4981 GB 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.0002316/0.1714, allocations: 165.7 kB / 0.5947 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.1715, allocations: 23.72 kB / 0.5947 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006585/0.1722, allocations: 392.8 kB / 0.5951 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1722, allocations: 4 kB / 0.5951 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1722, allocations: 0 / 0.5951 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1722, allocations: 0 / 0.5951 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.1726, allocations: 345.2 kB / 0.5954 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1726, allocations: 4 kB / 0.5954 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.173, allocations: 63.91 kB / 0.5955 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.173, allocations: 0 / 0.5955 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.173, allocations: 15.94 kB / 0.5955 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.173, allocations: 3.938 kB / 0.5955 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.173, allocations: 3.984 kB / 0.5955 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.1738, allocations: 313.8 kB / 0.5958 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.174, allocations: 152.7 kB / 0.596 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.1741, allocations: 15.92 kB / 0.596 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1744, allocations: 15.98 kB / 0.596 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.1745, allocations: 39.7 kB / 0.596 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.1745, allocations: 11.98 kB / 0.596 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003278/0.1749, allocations: 240.4 kB / 0.5963 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1749, allocations: 0 / 0.5963 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004842/0.1754, allocations: 71.84 kB / 0.5963 GB, free: 7.902 MB / 0.4981 GB 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.002452/0.1778, allocations: 1.146 MB / 0.5975 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008409/0.1787, allocations: 303.6 kB / 0.5977 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1787, allocations: 0 / 0.5977 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.1791, allocations: 136.6 kB / 0.5979 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.1795, allocations: 67.58 kB / 0.5979 GB, free: 6.406 MB / 0.4981 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.1835, allocations: 2.507 MB / 0.6004 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1837, allocations: 0.7575 MB / 0.6011 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003845/0.1841, allocations: 151 kB / 0.6013 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.1844, allocations: 99.39 kB / 0.6014 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1844, allocations: 0 / 0.6014 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6649/0.8493, allocations: 5.921 MB / 0.6071 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/9.638, allocations: 6.422 kB / 0.6072 GB, free: 51.96 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)