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.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.0008181/0.0008181, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0009226/0.0009226, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.9434/0.9434, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7856/0.7856, allocations: 203.8 MB / 0.5042 GB, free: 10.5 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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"}) [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.0009504/0.0009504, allocations: 74.66 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5013, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002541/0.5039, allocations: 1.885 MB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.506, allocations: 1.785 MB / 0.8214 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.5061, allocations: 0 / 0.8214 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.5063, allocations: 37.22 kB / 0.8214 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.5067, allocations: 124.1 kB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.5071, allocations: 173 kB / 0.8217 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.5074, allocations: 292.2 kB / 0.822 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.5075, allocations: 26.14 kB / 0.822 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.5076, allocations: 103.7 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.5077, allocations: 98.31 kB / 0.8222 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.5078, allocations: 24.28 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.508, allocations: 127.5 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.5081, allocations: 94.89 kB / 0.8224 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.5082, allocations: 101.5 kB / 0.8225 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.5085, allocations: 377.9 kB / 0.8229 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5085, allocations: 4 kB / 0.8229 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5086, allocations: 1.219 kB / 0.8229 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.5086, allocations: 0 / 0.8229 GB, free: 13.87 MB / 0.6198 GB 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.0007137/0.5093, allocations: 0.5111 MB / 0.8234 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5093, allocations: 9.906 kB / 0.8234 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.5094, allocations: 57.88 kB / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.5095, allocations: 35.02 kB / 0.8235 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.5097, allocations: 235.1 kB / 0.8237 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.5098, allocations: 15.56 kB / 0.8237 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.5098, allocations: 24.53 kB / 0.8238 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.5103, allocations: 361.7 kB / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.5103, allocations: 1.156 kB / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.5103, allocations: 5.938 kB / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.5103, allocations: 8.594 kB / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.511, allocations: 0.7015 MB / 0.8248 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.5119, allocations: 0.5726 MB / 0.8254 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.5123, allocations: 284.1 kB / 0.8256 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.5124, allocations: 101.3 kB / 0.8257 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.5125, allocations: 13.75 kB / 0.8258 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.5128, allocations: 230.4 kB / 0.826 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.5128, allocations: 0 / 0.826 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.0005865/0.5134, allocations: 388 kB / 0.8263 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.5135, allocations: 133.1 kB / 0.8265 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.5137, allocations: 326.6 kB / 0.8268 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.5138, allocations: 31.31 kB / 0.8268 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.5138, allocations: 139.3 kB / 0.8269 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.5139, allocations: 123.8 kB / 0.8271 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.514, allocations: 61.55 kB / 0.8271 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5141, allocations: 339.7 kB / 0.8274 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.5142, allocations: 81.12 kB / 0.8275 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.5144, allocations: 212.5 kB / 0.8277 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.5147, allocations: 210.7 kB / 0.8279 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.5147, allocations: 0 / 0.8279 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000387/0.5151, allocations: 292.2 kB / 0.8282 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.5151, allocations: 9.25 kB / 0.8282 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5151, allocations: 0.6094 kB / 0.8282 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5151, allocations: 1.562 kB / 0.8282 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.5153, allocations: 64.94 kB / 0.8283 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.5153, allocations: 2.047 kB / 0.8283 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.5154, allocations: 28 kB / 0.8283 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.5155, allocations: 14.84 kB / 0.8283 GB, free: 10.61 MB / 0.6198 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.0001791/0.5157, allocations: 162.9 kB / 0.8285 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.5157, allocations: 38.86 kB / 0.8285 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/0.5163, allocations: 383.2 kB / 0.8289 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.5163, allocations: 4.188 kB / 0.8289 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5163, allocations: 8.781 kB / 0.8289 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5163, allocations: 1.828 kB / 0.8289 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.5167, allocations: 279 kB / 0.8292 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5167, allocations: 0.5312 kB / 0.8292 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.5168, allocations: 61.66 kB / 0.8292 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.5168, allocations: 9.531 kB / 0.8292 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.5168, allocations: 10.27 kB / 0.8292 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.5168, allocations: 6.109 kB / 0.8292 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5168, allocations: 0.5312 kB / 0.8292 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.5174, allocations: 332.2 kB / 0.8296 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.5175, allocations: 76.14 kB / 0.8296 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.5176, allocations: 10.69 kB / 0.8296 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.5177, allocations: 22 kB / 0.8297 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.5178, allocations: 26.95 kB / 0.8297 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.5178, allocations: 16.98 kB / 0.8297 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000235/0.518, allocations: 246.8 kB / 0.8299 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.518, allocations: 0 / 0.8299 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003137/0.5183, allocations: 81.36 kB / 0.83 GB, free: 9.672 MB / 0.6198 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.001667/0.52, allocations: 1.243 MB / 0.8312 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.5204, allocations: 229.3 kB / 0.8314 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5204, allocations: 1.188 kB / 0.8314 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.5205, allocations: 118.9 kB / 0.8316 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.5208, allocations: 43.33 kB / 0.8316 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.5234, allocations: 2.569 MB / 0.8341 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.5236, allocations: 157.6 kB / 0.8343 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.5238, allocations: 144.7 kB / 0.8344 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5239, allocations: 107.7 kB / 0.8345 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.5239, allocations: 1.25 kB / 0.8345 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.551, allocations: 7.219 MB / 0.8416 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.542/7.093, allocations: 5.391 kB / 0.8416 GB, free: 3.984 MB / 0.6198 GB " [Timeout remaining time 653] (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 --stepSize=3456 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.001826240681112] Failed to read output from testmodel.py, exit status != 0: 7.226607335731387 7.238260957 6.727613594 Calling exit ...