Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.0008923/0.0008923, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001361/0.001361, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8624/0.8624, allocations: 177.1 MB / 204.5 MB, free: 5.516 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-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 0.7137/0.7137, allocations: 154.6 MB / 415.6 MB, free: 0.5 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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.5215 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.232e-05, allocations: 4.141 kB / 0.5215 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00137/0.001382, allocations: 1.288 MB / 0.5228 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.002312, allocations: 1.132 MB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.002342, allocations: 0 / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.002359, allocations: 448 / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.002706, allocations: 116.9 kB / 0.524 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 2.715e-06/0.002709, allocations: 0 / 0.524 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 2.912e-05/0.002738, allocations: 3.938 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.002776, allocations: 4 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.002797, allocations: 4.578 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.00284, allocations: 0.8125 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.182e-06/0.002846, allocations: 0 / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.00299, allocations: 101.6 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.002997, allocations: 11.92 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.905e-06/0.003005, allocations: 0 / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.003152, allocations: 123.6 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003154, allocations: 0 / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003154, allocations: 0.5625 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.003157, allocations: 0 / 0.5243 GB, free: 15.11 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002134/0.003371, allocations: 373 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.003398, allocations: 8.031 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.003436, allocations: 125.5 kB / 0.5247 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.939e-05/0.003535, allocations: 227.8 kB / 0.525 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.003581, allocations: 238.8 kB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.003624, allocations: 238.8 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.003e-05/0.003674, allocations: 158.2 kB / 0.5256 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.003697, allocations: 119.4 kB / 0.5257 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.00376, allocations: 243.7 kB / 0.5259 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.003802, allocations: 238.4 kB / 0.5261 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.381e-05/0.003846, allocations: 246.4 kB / 0.5264 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.004016, allocations: 0.5557 MB / 0.5269 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.857e-05/0.004085, allocations: 269.4 kB / 0.5272 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.00411, allocations: 130.9 kB / 0.5273 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.004132, allocations: 119.2 kB / 0.5274 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.004167, allocations: 156.6 kB / 0.5276 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.004168, allocations: 0 / 0.5276 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.379e-05/0.004211, allocations: 29.7 kB / 0.5276 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.004332, allocations: 171.1 kB / 0.5278 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.004429, allocations: 159.2 kB / 0.5279 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.004437, allocations: 29.7 kB / 0.5279 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.004471, allocations: 130.8 kB / 0.5281 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-07/0.004472, allocations: 0.9688 kB / 0.5281 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.004488, allocations: 19.36 kB / 0.5281 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.004581, allocations: 492.1 kB / 0.5285 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-06/0.004583, allocations: 4.938 kB / 0.5286 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-06/0.004585, allocations: 0 / 0.5286 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.376e-05/0.004609, allocations: 124.1 kB / 0.5287 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.062e-05/0.00463, allocations: 119.2 kB / 0.5288 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.566e-05/0.004665, allocations: 29.7 kB / 0.5288 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.004693, allocations: 123.8 kB / 0.5289 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.004717, allocations: 123.8 kB / 0.5291 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.951e-05/0.004766, allocations: 242.4 kB / 0.5293 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.45e-05/0.004791, allocations: 128.3 kB / 0.5294 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-05/0.004837, allocations: 246.3 kB / 0.5296 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.004881, allocations: 119.2 kB / 0.5298 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.004903, allocations: 127.8 kB / 0.5299 GB, free: 9.156 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 8.83e-05/0.004991, allocations: 392.8 kB / 0.5302 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.005031, allocations: 149.2 kB / 0.5304 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.005068, allocations: 156 kB / 0.5305 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/0.005117, allocations: 264.3 kB / 0.5308 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.858e-05/0.005166, allocations: 268.1 kB / 0.531 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001292/0.005295, allocations: 280.8 kB / 0.5313 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.005432, allocations: 476.5 kB / 0.5318 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/0.005462, allocations: 159.6 kB / 0.5319 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.005491, allocations: 144.9 kB / 0.5321 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.882e-05/0.00554, allocations: 264.1 kB / 0.5323 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.005591, allocations: 272 kB / 0.5326 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.597e-05/0.005637, allocations: 264.1 kB / 0.5328 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-05/0.005685, allocations: 272 kB / 0.5331 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.005788, allocations: 459.8 kB / 0.5335 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.00582, allocations: 148 kB / 0.5337 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.005873, allocations: 272.1 kB / 0.5339 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.621e-05/0.005919, allocations: 148.8 kB / 0.5341 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.005968, allocations: 264.1 kB / 0.5343 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.005996, allocations: 156.8 kB / 0.5345 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.006026, allocations: 123.2 kB / 0.5346 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006026, allocations: 3.938 kB / 0.5346 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000191/0.006217, allocations: 39.8 kB / 0.5346 GB, free: 4.109 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003579/0.006575, allocations: 385.9 kB / 0.535 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 2.655e-05/0.006602, allocations: 4 kB / 0.535 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.01e-07/0.006603, allocations: 0 / 0.535 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.006604, allocations: 0 / 0.535 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.006852, allocations: 0.7037 MB / 0.5357 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001584/0.00701, allocations: 216 kB / 0.5359 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.343e-05/0.007034, allocations: 51.36 kB / 0.5359 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.132e-06/0.00704, allocations: 0 / 0.5359 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.007062, allocations: 70.92 kB / 0.536 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.007063, allocations: 2.125 kB / 0.536 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of Templates: time 0.002143/0.009206, allocations: 1.175 MB / 0.5372 GB, free: 1.617 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2645907029509544]