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.0009282/0.0009282, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001049/0.001049, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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.9186/0.9186, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7304/0.7304, allocations: 154.6 MB / 413.7 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.447e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002296/0.00231, allocations: 1.891 MB / 0.62 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.004056, allocations: 1.792 MB / 0.6217 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.004121, allocations: 0 / 0.6217 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.004319, allocations: 35.7 kB / 0.6217 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.004657, allocations: 119.3 kB / 0.6219 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.004945, allocations: 181.2 kB / 0.622 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.005182, allocations: 301.1 kB / 0.6223 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.005279, allocations: 21.3 kB / 0.6223 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.005393, allocations: 135.8 kB / 0.6225 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.005522, allocations: 95.73 kB / 0.6226 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.00555, allocations: 20 kB / 0.6226 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.005709, allocations: 131.8 kB / 0.6227 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.005793, allocations: 95.72 kB / 0.6228 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.00586, allocations: 79.75 kB / 0.6229 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.006302, allocations: 394.7 kB / 0.6232 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.006304, allocations: 0 / 0.6232 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of FrontEnd: time 7.31e-07/0.006304, allocations: 7.938 kB / 0.6233 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.006308, allocations: 0 / 0.6233 GB, free: 7.289 MB / 0.5417 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.0005709/0.006879, allocations: 0.5208 MB / 0.6238 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.006915, allocations: 8.031 kB / 0.6238 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.006956, allocations: 50.73 kB / 0.6238 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.93e-05/0.007056, allocations: 36.7 kB / 0.6239 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.007266, allocations: 228.7 kB / 0.6241 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.007283, allocations: 20.3 kB / 0.6241 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.007302, allocations: 20.38 kB / 0.6241 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.007605, allocations: 361.8 kB / 0.6245 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.007613, allocations: 4 kB / 0.6245 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.007631, allocations: 12 kB / 0.6245 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.007637, allocations: 4 kB / 0.6245 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.008145, allocations: 0.6982 MB / 0.6252 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.008808, allocations: 0.566 MB / 0.6257 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.009148, allocations: 294.5 kB / 0.626 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.009256, allocations: 101.3 kB / 0.6261 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.009293, allocations: 20.27 kB / 0.6261 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.009557, allocations: 235.4 kB / 0.6263 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.009558, allocations: 0 / 0.6263 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0006558/0.01021, allocations: 380 kB / 0.6267 GB, free: 3.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.01027, allocations: 140.4 kB / 0.6268 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.01048, allocations: 321.9 kB / 0.6271 GB, free: 3.086 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.0105, allocations: 29.7 kB / 0.6272 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.01057, allocations: 136.7 kB / 0.6273 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.01064, allocations: 123 kB / 0.6274 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.0107, allocations: 65.69 kB / 0.6275 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.01079, allocations: 342.8 kB / 0.6278 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.01088, allocations: 79.95 kB / 0.6279 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.01102, allocations: 208.6 kB / 0.6281 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.01123, allocations: 204.7 kB / 0.6283 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01123, allocations: 0 / 0.6283 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002868/0.01152, allocations: 301.5 kB / 0.6286 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.01153, allocations: 7.984 kB / 0.6286 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01154, allocations: 0 / 0.6286 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01155, allocations: 4 kB / 0.6286 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01169, allocations: 63.84 kB / 0.6286 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01169, allocations: 0 / 0.6286 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.01177, allocations: 31.83 kB / 0.6287 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.01178, allocations: 12 kB / 0.6287 GB, free: 1.441 MB / 0.5417 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.0001115/0.0119, allocations: 166.7 kB / 0.6288 GB, free: 1.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.01193, allocations: 31.75 kB / 0.6289 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.01233, allocations: 384.9 kB / 0.6292 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01233, allocations: 4 kB / 0.6292 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.01234, allocations: 3.938 kB / 0.6292 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01234, allocations: 0 / 0.6292 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.01254, allocations: 280.5 kB / 0.6295 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01254, allocations: 0 / 0.6295 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.616e-05/0.01264, allocations: 63.91 kB / 0.6296 GB, free: 480 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.01264, allocations: 0 / 0.6296 GB, free: 480 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01265, allocations: 15.98 kB / 0.6296 GB, free: 464 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01266, allocations: 4 kB / 0.6296 GB, free: 460 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01266, allocations: 7.875 kB / 0.6296 GB, free: 452 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.01295, allocations: 334.4 kB / 0.6299 GB, free: 100 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.01303, allocations: 67.69 kB / 0.63 GB, free: 32 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.01305, allocations: 8 kB / 0.63 GB, free: 24 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.01315, allocations: 28.06 kB / 0.63 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.0132, allocations: 39.69 kB / 0.63 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.01322, allocations: 12 kB / 0.6301 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001456/0.01336, allocations: 253.2 kB / 0.6303 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.01336, allocations: 4 kB / 0.6303 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002297/0.01359, allocations: 75.88 kB / 0.6304 GB, free: 15.62 MB / 0.5573 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.001137/0.01473, allocations: 1.234 MB / 0.6316 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.01501, allocations: 236.1 kB / 0.6318 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01501, allocations: 0 / 0.6318 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.01513, allocations: 115.8 kB / 0.6319 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.01533, allocations: 52.39 kB / 0.632 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.01763, allocations: 2.577 MB / 0.6345 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.01773, allocations: 155 kB / 0.6346 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.01793, allocations: 146.9 kB / 0.6348 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.01805, allocations: 104.4 kB / 0.6349 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of SimCode: time 3.11e-07/0.01805, allocations: 0 / 0.6349 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.03788, allocations: 7.34 MB / 0.642 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.962, allocations: 13.25 kB / 0.642 GB, free: 3.918 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.923561704345047] Failed to read output from testmodel.py, exit status != 0: 7.098079251125455 7.400530008 7.392028926 Calling exit ...