Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.001495/0.001495, allocations: 92.22 kB / 19.65 MB, free: 276 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.001046/0.001046, allocations: 173 kB / 23.02 MB, free: 1.547 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.9294/0.9294, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.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-535:34: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-535:42: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.8012/0.8012, allocations: 154.9 MB / 414.8 MB, free: 424 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5207 GB, free: 1.828 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.804e-05, allocations: 9.156 kB / 0.5207 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00647/0.006498, allocations: 1.504 MB / 0.5222 GB, free: 336 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004087/0.006907, allocations: 196.2 kB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.006951, allocations: 4 kB / 0.5224 GB, free: 136 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.006982, allocations: 9.672 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.007205, allocations: 15.86 kB / 0.5224 GB, free: 112 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.007377, allocations: 63.77 kB / 0.5225 GB, free: 48 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.007489, allocations: 60.45 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.007572, allocations: 3.938 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.00765, allocations: 32.42 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.00772, allocations: 20.98 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.007744, allocations: 4 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.007757, allocations: 8 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.00778, allocations: 8.938 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.00782, allocations: 15.98 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003142/0.01096, allocations: 44.5 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.01097, allocations: 0 / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.763e-06/0.01097, allocations: 1.375 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.01098, allocations: 3.938 kB / 0.5227 GB, free: 15.85 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004678/0.01144, allocations: 372.6 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.01148, allocations: 12.59 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.01153, allocations: 8.875 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/0.01163, allocations: 113.1 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.01164, allocations: 5.781 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.01166, allocations: 8.375 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.01182, allocations: 137.4 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.01183, allocations: 192 / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.01184, allocations: 1.094 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.01185, allocations: 4.312 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.204e-05/0.01189, allocations: 17.2 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.0122, allocations: 267.8 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.352e-05/0.01229, allocations: 39.8 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.01232, allocations: 20.22 kB / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.01232, allocations: 0 / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.01244, allocations: 73.89 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.01244, allocations: 0 / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001839/0.01262, allocations: 66.56 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.01267, allocations: 106.8 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.01299, allocations: 173.9 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.01301, allocations: 28.33 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.01306, allocations: 126.9 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.01308, allocations: 19.89 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.01312, allocations: 23.38 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.01324, allocations: 0.4884 MB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.01326, allocations: 4 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.01332, allocations: 90.45 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.01336, allocations: 21.16 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01336, allocations: 0 / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.688e-05/0.01345, allocations: 61.56 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01346, allocations: 4.562 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01347, allocations: 0 / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01348, allocations: 1.031 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.01355, allocations: 8 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.01356, allocations: 7.969 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.01362, allocations: 9.188 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.01363, allocations: 0 / 0.5249 GB, free: 13.3 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 (5): * Single equations (assignments): 5 * 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.003095/0.01672, allocations: 161.7 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.01675, allocations: 15.89 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.01678, allocations: 7.672 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01678, allocations: 0.875 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.01678, allocations: 0 / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01679, allocations: 192 / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.438e-05/0.01688, allocations: 121.5 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01688, allocations: 0 / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.01691, allocations: 11.17 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01692, allocations: 0 / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.01692, allocations: 3.938 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.01693, allocations: 4 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01693, allocations: 0 / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.01705, allocations: 100.4 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.01708, allocations: 7.984 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.0171, allocations: 10.72 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.01717, allocations: 9.703 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.0172, allocations: 4 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.01721, allocations: 0 / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.506e-05/0.01725, allocations: 131.2 kB / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01725, allocations: 0 / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001918/0.01745, allocations: 19.89 kB / 0.5255 GB, free: 12.64 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 (4): * Single equations (assignments): 3 * 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.0001005/0.01755, allocations: 96.59 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.01766, allocations: 35.61 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01766, allocations: 0 / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.01769, allocations: 20.3 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.01785, allocations: 11.97 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.01831, allocations: 140.2 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.01835, allocations: 55.36 kB / 0.5258 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.01838, allocations: 7.984 kB / 0.5258 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.01841, allocations: 12.5 kB / 0.5258 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/0.01842, allocations: 3.938 kB / 0.5258 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.003307/0.02172, allocations: 1.009 MB / 0.5268 GB, free: 11.28 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6904679061844945]