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.0023/0.0023, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002748/0.002748, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.332/1.332, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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 178] 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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.825e-05, allocations: 5.703 kB / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004021/0.00406, allocations: 1.913 MB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.007332, allocations: 1.829 MB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.202e-05/0.007424, allocations: 0 / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.007685, allocations: 36.23 kB / 0.5233 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000459/0.008144, allocations: 120 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.008597, allocations: 172.3 kB / 0.5236 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.008993, allocations: 307.7 kB / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.009121, allocations: 21.3 kB / 0.5239 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.009581, allocations: 143.7 kB / 0.5241 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.009807, allocations: 87.81 kB / 0.5241 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.009862, allocations: 24 kB / 0.5242 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.01013, allocations: 123.8 kB / 0.5243 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.01026, allocations: 92.48 kB / 0.5244 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.01039, allocations: 83.73 kB / 0.5245 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.01099, allocations: 399.8 kB / 0.5248 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01099, allocations: 0 / 0.5248 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.01099, allocations: 0 / 0.5248 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.011, allocations: 0 / 0.5248 GB, free: 13.22 MB / 0.4948 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.001007/0.012, allocations: 0.621 MB / 0.5254 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.01205, allocations: 12.69 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.01227, allocations: 61.59 kB / 0.5255 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.01264, allocations: 227.6 kB / 0.5257 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.01266, allocations: 12.38 kB / 0.5257 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.0127, allocations: 21.34 kB / 0.5258 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.01321, allocations: 361.3 kB / 0.5261 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.01323, allocations: 11.88 kB / 0.5261 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.01325, allocations: 8.5 kB / 0.5261 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.01326, allocations: 4.906 kB / 0.5261 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.01427, allocations: 0.6709 MB / 0.5268 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.0154, allocations: 0.5744 MB / 0.5273 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.01589, allocations: 235.8 kB / 0.5276 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.01605, allocations: 89.19 kB / 0.5277 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.01609, allocations: 16.27 kB / 0.5277 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.01646, allocations: 218 kB / 0.5279 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.744e-06/0.01646, allocations: 0 / 0.5279 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0007187/0.01718, allocations: 333.8 kB / 0.5282 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.01728, allocations: 136.5 kB / 0.5283 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.01764, allocations: 336.3 kB / 0.5286 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.01768, allocations: 33.7 kB / 0.5287 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.01784, allocations: 199.3 kB / 0.5289 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.01797, allocations: 124.7 kB / 0.529 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.0181, allocations: 75.34 kB / 0.5291 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002963/0.0184, allocations: 0.5235 MB / 0.5296 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.01853, allocations: 63.95 kB / 0.5296 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.01881, allocations: 208.6 kB / 0.5298 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.01912, allocations: 163.7 kB / 0.53 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01912, allocations: 1.281 kB / 0.53 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004791/0.0196, allocations: 265.6 kB / 0.5302 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.01962, allocations: 7.984 kB / 0.5303 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01963, allocations: 0 / 0.5303 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.01965, allocations: 4.875 kB / 0.5303 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.0199, allocations: 59.91 kB / 0.5303 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.0199, allocations: 1.156 kB / 0.5303 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.02005, allocations: 33.73 kB / 0.5303 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.02008, allocations: 11.98 kB / 0.5304 GB, free: 7.258 MB / 0.4948 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.0001693/0.02025, allocations: 179.5 kB / 0.5305 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.02033, allocations: 39.81 kB / 0.5306 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000705/0.02103, allocations: 339.9 kB / 0.5309 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.02104, allocations: 4 kB / 0.5309 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.02104, allocations: 0 / 0.5309 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.02105, allocations: 11.95 kB / 0.5309 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.02162, allocations: 268.3 kB / 0.5312 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.02163, allocations: 1.5 kB / 0.5312 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.02182, allocations: 59.91 kB / 0.5312 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.02183, allocations: 0 / 0.5312 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.02185, allocations: 11.98 kB / 0.5312 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.02186, allocations: 5.406 kB / 0.5312 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02186, allocations: 0 / 0.5312 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.02239, allocations: 325.5 kB / 0.5315 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.02254, allocations: 71.72 kB / 0.5316 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.02258, allocations: 5.281 kB / 0.5316 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.02274, allocations: 15.98 kB / 0.5316 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.02282, allocations: 28.73 kB / 0.5317 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.02285, allocations: 11.98 kB / 0.5317 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002297/0.02308, allocations: 237.6 kB / 0.5319 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02308, allocations: 0 / 0.5319 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003369/0.02342, allocations: 88.27 kB / 0.532 GB, free: 5.527 MB / 0.4948 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.002836/0.02625, allocations: 0.4908 MB / 0.5325 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.02669, allocations: 200.7 kB / 0.5327 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.02669, allocations: 4 kB / 0.5327 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.02691, allocations: 128.4 kB / 0.5328 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.02723, allocations: 57.72 kB / 0.5328 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.02827, allocations: 0.4888 MB / 0.5333 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.02843, allocations: 152 kB / 0.5335 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.02875, allocations: 130.6 kB / 0.5336 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.02885, allocations: 49.19 kB / 0.5336 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.02885, allocations: 0 / 0.5336 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of Templates: time 0.00929/0.03814, allocations: 3.954 MB / 0.5375 GB, free: 328 kB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.321137096034363]