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.001017/0.001017, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009524/0.0009524, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9671/0.9671, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 8 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 82.31 MB / 0.5873 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001986/0.1566, allocations: 1.519 MB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1585, allocations: 1.435 MB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.1585, allocations: 0 / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.1587, allocations: 27.86 kB / 0.5902 GB, free: 0 / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.159, allocations: 67.78 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.1594, allocations: 147.8 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1596, allocations: 173.7 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1598, allocations: 29.09 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.1599, allocations: 79.81 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.16, allocations: 71.75 kB / 0.5907 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1601, allocations: 8 kB / 0.5908 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1602, allocations: 63.89 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.1603, allocations: 79.73 kB / 0.5909 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.1604, allocations: 61.52 kB / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1606, allocations: 223.8 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1607, allocations: 0 / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1607, allocations: 0 / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1607, allocations: 4 kB / 0.5912 GB, free: 15.01 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.000689/0.1614, allocations: 0.5109 MB / 0.5917 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1614, allocations: 8.031 kB / 0.5917 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.761e-05/0.1615, allocations: 50.55 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1616, allocations: 31.62 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.1619, allocations: 269.5 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1619, allocations: 20 kB / 0.592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.162, allocations: 12 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.1623, allocations: 236.7 kB / 0.5923 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1624, allocations: 0 / 0.5923 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.1624, allocations: 8 kB / 0.5923 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1624, allocations: 4 kB / 0.5923 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008344/0.1632, allocations: 0.7412 MB / 0.593 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1643, allocations: 0.6443 MB / 0.5936 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.1648, allocations: 306 kB / 0.5939 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.1649, allocations: 24.17 kB / 0.5939 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/0.1652, allocations: 183.4 kB / 0.5941 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.704e-06/0.1652, allocations: 0 / 0.5941 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006595/0.1659, allocations: 366.4 kB / 0.5945 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.166, allocations: 140.5 kB / 0.5946 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.1663, allocations: 309 kB / 0.5949 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.1663, allocations: 33.7 kB / 0.5949 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.1664, allocations: 140.5 kB / 0.5951 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/0.1665, allocations: 114.4 kB / 0.5952 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.1665, allocations: 4 kB / 0.5952 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1667, allocations: 338.8 kB / 0.5955 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1668, allocations: 79.95 kB / 0.5956 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.167, allocations: 125.8 kB / 0.5957 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.1672, allocations: 104.3 kB / 0.5958 GB, free: 10 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1672, allocations: 3.984 kB / 0.5958 GB, free: 10 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004648/0.1677, allocations: 277.1 kB / 0.5961 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.1677, allocations: 4 kB / 0.5961 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1677, allocations: 0 / 0.5961 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.1678, allocations: 11.89 kB / 0.5961 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.168, allocations: 59.97 kB / 0.5961 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1681, allocations: 4 kB / 0.5961 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.1683, allocations: 31.77 kB / 0.5962 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.1683, allocations: 19.88 kB / 0.5962 GB, free: 9.594 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002337/0.1686, allocations: 166.1 kB / 0.5964 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.1686, allocations: 31.62 kB / 0.5964 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007544/0.1694, allocations: 384.6 kB / 0.5967 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1694, allocations: 4 kB / 0.5968 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.1694, allocations: 7.953 kB / 0.5968 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1694, allocations: 0 / 0.5968 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.1698, allocations: 345.1 kB / 0.5971 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1699, allocations: 0 / 0.5971 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.17, allocations: 59.91 kB / 0.5971 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1701, allocations: 0 / 0.5971 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.1701, allocations: 12 kB / 0.5972 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1701, allocations: 4 kB / 0.5972 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1701, allocations: 7.984 kB / 0.5972 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.1706, allocations: 326 kB / 0.5975 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.1708, allocations: 152.7 kB / 0.5976 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.1709, allocations: 11.94 kB / 0.5976 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1711, allocations: 31.22 kB / 0.5977 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.1712, allocations: 27.97 kB / 0.5977 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.1712, allocations: 12 kB / 0.5977 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002331/0.1715, allocations: 240.4 kB / 0.5979 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1715, allocations: 3.938 kB / 0.5979 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003415/0.1718, allocations: 71.98 kB / 0.598 GB, free: 7.633 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001641/0.1735, allocations: 1.146 MB / 0.5991 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.1739, allocations: 227.8 kB / 0.5993 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1739, allocations: 0 / 0.5993 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.1741, allocations: 131.8 kB / 0.5995 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.1744, allocations: 28.42 kB / 0.5995 GB, free: 6.238 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.002477/0.1768, allocations: 1.522 MB / 0.601 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1772, allocations: 0.7697 MB / 0.6017 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000346/0.1776, allocations: 146.9 kB / 0.6019 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.1778, allocations: 95.39 kB / 0.602 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.1778, allocations: 4 kB / 0.602 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8538/1.032, allocations: 5.833 MB / 0.6077 GB, free: 48.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/1.032, allocations: 250.6 kB / 0.6079 GB, free: 48.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.851, allocations: 0 / 0.6079 GB, free: 48.45 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/linux/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) Environment - environmentSimulation: