Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 123 kB / 17.17 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 205.6 kB / 20.13 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8678/0.8678, allocations: 133.9 MB / 443.5 MB, free: 13.84 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 64.23 kB / 0.6141 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 85.86 MB / 0.698 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003312/0.1589, allocations: 1.903 MB / 0.6998 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1613, allocations: 1.746 MB / 0.7015 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.1614, allocations: 1.375 kB / 0.7015 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.1616, allocations: 31.86 kB / 0.7016 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.162, allocations: 120.4 kB / 0.7017 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1624, allocations: 171.8 kB / 0.7018 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.1628, allocations: 288.4 kB / 0.7021 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1629, allocations: 27.03 kB / 0.7021 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.163, allocations: 99.94 kB / 0.7022 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.1632, allocations: 110.5 kB / 0.7023 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.1633, allocations: 20 kB / 0.7024 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.1635, allocations: 138.5 kB / 0.7025 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1636, allocations: 90.98 kB / 0.7026 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1638, allocations: 126.2 kB / 0.7027 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.1642, allocations: 368.8 kB / 0.703 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1642, allocations: 0 / 0.703 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.186e-06/0.1642, allocations: 3.984 kB / 0.7031 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.1642, allocations: 0 / 0.7031 GB, free: 9.715 MB / 0.5137 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.0009016/0.1651, allocations: 0.5961 MB / 0.7036 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1652, allocations: 9.703 kB / 0.7036 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.186e-05/0.1652, allocations: 4.188 kB / 0.7036 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.863e-05/0.1652, allocations: 54.73 kB / 0.7037 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1654, allocations: 36.73 kB / 0.7037 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1657, allocations: 278.9 kB / 0.704 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1657, allocations: 16.12 kB / 0.704 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.1658, allocations: 20 kB / 0.704 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.1662, allocations: 232.8 kB / 0.7043 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1662, allocations: 0 / 0.7043 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.1662, allocations: 11.94 kB / 0.7043 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1662, allocations: 4 kB / 0.7043 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009006/0.1671, allocations: 0.7488 MB / 0.705 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.1681, allocations: 0.6255 MB / 0.7056 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.1686, allocations: 289.9 kB / 0.7059 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1688, allocations: 101.4 kB / 0.706 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.1688, allocations: 16.25 kB / 0.706 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.1692, allocations: 187.3 kB / 0.7062 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.734e-06/0.1692, allocations: 4 kB / 0.7062 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.000704/0.1699, allocations: 377.1 kB / 0.7065 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/0.17, allocations: 140.4 kB / 0.7067 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.1703, allocations: 317 kB / 0.707 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.1704, allocations: 37.7 kB / 0.707 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.305e-05/0.1705, allocations: 132.7 kB / 0.7071 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1706, allocations: 126.9 kB / 0.7073 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.1707, allocations: 65.69 kB / 0.7073 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1708, allocations: 342.8 kB / 0.7077 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.171, allocations: 79.95 kB / 0.7077 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.1712, allocations: 136.4 kB / 0.7079 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.1715, allocations: 204.6 kB / 0.7081 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1715, allocations: 4 kB / 0.7081 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000464/0.172, allocations: 285.8 kB / 0.7083 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.172, allocations: 4 kB / 0.7083 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.172, allocations: 3.938 kB / 0.7083 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.172, allocations: 8 kB / 0.7083 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1722, allocations: 59.91 kB / 0.7084 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1722, allocations: 0 / 0.7084 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.1724, allocations: 35.77 kB / 0.7084 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.1724, allocations: 16 kB / 0.7085 GB, free: 3.898 MB / 0.5137 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.0001771/0.1726, allocations: 166.4 kB / 0.7086 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.1726, allocations: 27.81 kB / 0.7086 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.1734, allocations: 388.5 kB / 0.709 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1734, allocations: 4 kB / 0.709 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1734, allocations: 0 / 0.709 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1734, allocations: 8 kB / 0.709 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.1737, allocations: 349.2 kB / 0.7094 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1737, allocations: 0 / 0.7094 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.1739, allocations: 55.97 kB / 0.7094 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1739, allocations: 7.938 kB / 0.7094 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.1739, allocations: 15.92 kB / 0.7094 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1739, allocations: 0 / 0.7094 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1739, allocations: 0 / 0.7094 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.1744, allocations: 326.3 kB / 0.7097 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.1746, allocations: 148.8 kB / 0.7099 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.1746, allocations: 11.98 kB / 0.7099 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1748, allocations: 27.95 kB / 0.7099 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.1749, allocations: 23.97 kB / 0.7099 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.1749, allocations: 12 kB / 0.71 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002375/0.1751, allocations: 252.4 kB / 0.7102 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1751, allocations: 3.938 kB / 0.7102 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003153/0.1755, allocations: 75.88 kB / 0.7103 GB, free: 1.93 MB / 0.5137 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.002208/0.1777, allocations: 1.228 MB / 0.7115 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.1781, allocations: 224.1 kB / 0.7117 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1781, allocations: 4 kB / 0.7117 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.1783, allocations: 119.8 kB / 0.7118 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.1785, allocations: 40.41 kB / 0.7118 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.1816, allocations: 2.569 MB / 0.7143 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.182, allocations: 0.758 MB / 0.7151 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003189/0.1823, allocations: 150.9 kB / 0.7152 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.1825, allocations: 99.39 kB / 0.7153 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1825, allocations: 0 / 0.7153 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.2101, allocations: 6.588 MB / 0.7218 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.317, allocations: 10.62 kB / 0.7218 GB, free: 6.398 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.210176948981825] Failed to read output from testmodel.py, exit status != 0: 8.811153546965215 8.551669348 8.384653588 Calling exit ...