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.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/package.mo", uses=false) 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.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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_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.0008348/0.0008348, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0009774/0.0009774, allocations: 172.7 kB / 15.95 MB, free: 208 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.341/1.341, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7363/0.7363, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003234, allocations: 12.91 kB / 0.5035 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.412, allocations: 81.57 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002082/0.4142, allocations: 1.541 MB / 0.5847 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.4161, allocations: 1.456 MB / 0.5861 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.4161, allocations: 2.312 kB / 0.5861 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.4163, allocations: 33.19 kB / 0.5861 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.4166, allocations: 59.58 kB / 0.5862 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.417, allocations: 151.3 kB / 0.5863 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.4173, allocations: 238.5 kB / 0.5865 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4174, allocations: 26.69 kB / 0.5866 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.4175, allocations: 75.22 kB / 0.5866 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.4177, allocations: 102.8 kB / 0.5867 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.4178, allocations: 8.969 kB / 0.5868 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.418, allocations: 67 kB / 0.5868 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.4181, allocations: 73.31 kB / 0.5869 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.158e-05/0.4181, allocations: 65.42 kB / 0.5869 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.4185, allocations: 225.8 kB / 0.5872 GB, free: 1.391 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4185, allocations: 0 / 0.5872 GB, free: 1.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4186, allocations: 0 / 0.5872 GB, free: 1.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4186, allocations: 0 / 0.5872 GB, free: 1.391 MB / 430.1 MB 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.0007117/0.4193, allocations: 0.509 MB / 0.5877 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4193, allocations: 9.5 kB / 0.5877 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.277e-05/0.4194, allocations: 50.45 kB / 0.5877 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.4196, allocations: 40.05 kB / 0.5878 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.4198, allocations: 265 kB / 0.588 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.4199, allocations: 16.03 kB / 0.588 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.4199, allocations: 14 kB / 0.588 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.4203, allocations: 235.6 kB / 0.5883 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4203, allocations: 0.625 kB / 0.5883 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.4204, allocations: 6.75 kB / 0.5883 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4204, allocations: 4.844 kB / 0.5883 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.4215, allocations: 0.7456 MB / 0.589 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4227, allocations: 0.6469 MB / 0.5896 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.4233, allocations: 302 kB / 0.5899 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.4235, allocations: 108.4 kB / 0.59 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/0.4236, allocations: 25.34 kB / 0.59 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/0.424, allocations: 179.9 kB / 0.5902 GB, free: 15.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/0.4241, allocations: 0 / 0.5902 GB, free: 15.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008225/0.4249, allocations: 367.5 kB / 0.5906 GB, free: 15.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.425, allocations: 137.4 kB / 0.5907 GB, free: 15.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.4254, allocations: 303.7 kB / 0.591 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.4254, allocations: 39.48 kB / 0.591 GB, free: 15.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.4255, allocations: 129.4 kB / 0.5912 GB, free: 15.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.4257, allocations: 114.5 kB / 0.5913 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.4257, allocations: 6.219 kB / 0.5913 GB, free: 15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4258, allocations: 339.3 kB / 0.5916 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.426, allocations: 82.55 kB / 0.5917 GB, free: 14.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.4262, allocations: 131 kB / 0.5918 GB, free: 14.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.4264, allocations: 106 kB / 0.5919 GB, free: 14.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4264, allocations: 0 / 0.5919 GB, free: 14.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004698/0.4269, allocations: 292.6 kB / 0.5922 GB, free: 14.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.4269, allocations: 5.547 kB / 0.5922 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4269, allocations: 0 / 0.5922 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4269, allocations: 1.375 kB / 0.5922 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.4272, allocations: 61.52 kB / 0.5922 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4272, allocations: 5.531 kB / 0.5922 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.4274, allocations: 35.25 kB / 0.5923 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.4274, allocations: 10.03 kB / 0.5923 GB, free: 14.39 MB / 446.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 ($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.0001783/0.4276, allocations: 163.9 kB / 0.5924 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.4276, allocations: 33.83 kB / 0.5925 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000771/0.4284, allocations: 388.7 kB / 0.5928 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.4284, allocations: 8.203 kB / 0.5929 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4284, allocations: 0 / 0.5929 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.4285, allocations: 1.5 kB / 0.5929 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.4289, allocations: 342.5 kB / 0.5932 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4289, allocations: 3.938 kB / 0.5932 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.4291, allocations: 57.89 kB / 0.5932 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4291, allocations: 1.969 kB / 0.5932 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.4291, allocations: 18.55 kB / 0.5933 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4292, allocations: 1.375 kB / 0.5933 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4292, allocations: 0.6562 kB / 0.5933 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.4297, allocations: 332 kB / 0.5936 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.4298, allocations: 150.7 kB / 0.5937 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.4299, allocations: 6.281 kB / 0.5937 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.4301, allocations: 32.78 kB / 0.5938 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.4302, allocations: 33.7 kB / 0.5938 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.4302, allocations: 16.84 kB / 0.5938 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.4304, allocations: 235.1 kB / 0.594 GB, free: 13.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4305, allocations: 0 / 0.594 GB, free: 13.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.4308, allocations: 67.31 kB / 0.5941 GB, free: 13.32 MB / 446.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 (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.001442/0.4322, allocations: 1.157 MB / 0.5952 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.4326, allocations: 227.3 kB / 0.5954 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4326, allocations: 1.344 kB / 0.5954 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.4328, allocations: 132.8 kB / 0.5956 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.4331, allocations: 45.78 kB / 0.5956 GB, free: 12.43 MB / 446.1 MB 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.002218/0.4353, allocations: 1.538 MB / 0.5971 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.4357, allocations: 0.7603 MB / 0.5979 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003356/0.436, allocations: 142.9 kB / 0.598 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.4361, allocations: 97.28 kB / 0.5981 GB, free: 10.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4362, allocations: 0 / 0.5981 GB, free: 10.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.718/1.154, allocations: 5.871 MB / 0.6038 GB, free: 8.277 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004052/1.155, allocations: 243.5 kB / 0.6041 GB, free: 7.945 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.934, allocations: 0 / 0.6041 GB, free: 7.945 MB / 446.1 MB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) Environment - environmentSimulation: