Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.0008443/0.0008443, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008744/0.0008744, allocations: 169 kB / 23.27 MB, free: 1.223 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.8415/0.8415, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7671/0.7671, allocations: 154.9 MB / 415.1 MB, free: 268 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.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5211 GB, free: 444 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.395e-05, allocations: 2.312 kB / 0.5211 GB, free: 440 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001899/0.001913, allocations: 1.699 MB / 0.5228 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.003111, allocations: 1.409 MB / 0.5242 GB, free: 13.34 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.003166, allocations: 3.938 kB / 0.5242 GB, free: 13.33 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.003343, allocations: 29.2 kB / 0.5242 GB, free: 13.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.003598, allocations: 111.4 kB / 0.5243 GB, free: 13.2 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.003807, allocations: 132.9 kB / 0.5244 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.004009, allocations: 249.5 kB / 0.5247 GB, free: 12.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.004086, allocations: 20.88 kB / 0.5247 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02225/0.02634, allocations: 9.421 MB / 0.5339 GB, free: 5.914 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.02644, allocations: 68.5 kB / 0.534 GB, free: 5.848 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.02647, allocations: 16 kB / 0.534 GB, free: 5.832 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.02658, allocations: 60.81 kB / 0.534 GB, free: 5.773 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.02665, allocations: 83.69 kB / 0.5341 GB, free: 5.691 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.02672, allocations: 64.84 kB / 0.5342 GB, free: 5.629 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.02697, allocations: 235 kB / 0.5344 GB, free: 5.398 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.02697, allocations: 0 / 0.5344 GB, free: 5.398 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.02697, allocations: 1.469 kB / 0.5344 GB, free: 5.398 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.02697, allocations: 0 / 0.5344 GB, free: 5.398 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004653/0.02744, allocations: 0.5587 MB / 0.5349 GB, free: 4.805 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.02747, allocations: 8.594 kB / 0.535 GB, free: 4.797 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.02752, allocations: 40.75 kB / 0.535 GB, free: 4.758 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.02773, allocations: 254.9 kB / 0.5352 GB, free: 4.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.02774, allocations: 12.38 kB / 0.5352 GB, free: 4.469 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.02776, allocations: 17.59 kB / 0.5353 GB, free: 4.453 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.02794, allocations: 225 kB / 0.5355 GB, free: 4.199 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.02795, allocations: 8.125 kB / 0.5355 GB, free: 4.191 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.02796, allocations: 13 kB / 0.5355 GB, free: 4.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.02796, allocations: 4 kB / 0.5355 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.02835, allocations: 0.5634 MB / 0.5361 GB, free: 3.613 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.02878, allocations: 445.2 kB / 0.5365 GB, free: 3.148 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.02896, allocations: 155.4 kB / 0.5366 GB, free: 2.988 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.02902, allocations: 56.16 kB / 0.5367 GB, free: 2.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.02906, allocations: 40.05 kB / 0.5367 GB, free: 2.891 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.0292, allocations: 135.1 kB / 0.5368 GB, free: 2.746 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.552e-06/0.0292, allocations: 0 / 0.5368 GB, free: 2.746 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002865/0.02949, allocations: 237.8 kB / 0.5371 GB, free: 2.508 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.02953, allocations: 114.6 kB / 0.5372 GB, free: 2.375 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.02966, allocations: 268.3 kB / 0.5374 GB, free: 2.102 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.02968, allocations: 29.7 kB / 0.5375 GB, free: 2.066 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.02975, allocations: 187.4 kB / 0.5376 GB, free: 1.879 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.02981, allocations: 115 kB / 0.5378 GB, free: 1.766 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.02987, allocations: 75.31 kB / 0.5378 GB, free: 1.684 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.02998, allocations: 0.5157 MB / 0.5383 GB, free: 1.156 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.03002, allocations: 27.97 kB / 0.5384 GB, free: 1.129 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.0301, allocations: 130.4 kB / 0.5385 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.03021, allocations: 114.7 kB / 0.5386 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.03021, allocations: 3.219 kB / 0.5386 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001745/0.03039, allocations: 205.1 kB / 0.5388 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.0304, allocations: 4 kB / 0.5388 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.0304, allocations: 0 / 0.5388 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.03041, allocations: 4 kB / 0.5388 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.03053, allocations: 63.91 kB / 0.5389 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.03054, allocations: 4 kB / 0.5389 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.0306, allocations: 19.84 kB / 0.5389 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.03062, allocations: 17.08 kB / 0.5389 GB, free: 0.5469 MB / 458.7 MB 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 (35): * Single equations (assignments): 35 * 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 7.755e-05/0.03069, allocations: 168.5 kB / 0.5391 GB, free: 380 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.03073, allocations: 40.33 kB / 0.5391 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.03101, allocations: 280.4 kB / 0.5394 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.03101, allocations: 4.625 kB / 0.5394 GB, free: 52 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.03101, allocations: 0 / 0.5394 GB, free: 52 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.03102, allocations: 9.703 kB / 0.5394 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.03116, allocations: 189 kB / 0.5396 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.03117, allocations: 3.938 kB / 0.5396 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.109e-05/0.03126, allocations: 59.91 kB / 0.5396 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.03126, allocations: 9.844 kB / 0.5396 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.03127, allocations: 11.98 kB / 0.5396 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.03127, allocations: 0 / 0.5396 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.03127, allocations: 0 / 0.5396 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.03147, allocations: 258.7 kB / 0.5399 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.03153, allocations: 59.73 kB / 0.5399 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.03156, allocations: 13.25 kB / 0.54 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.03161, allocations: 11.98 kB / 0.54 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.03164, allocations: 27.95 kB / 0.54 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.03166, allocations: 13.36 kB / 0.54 GB, free: 15.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.908e-05/0.03173, allocations: 189.1 kB / 0.5402 GB, free: 15.17 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03173, allocations: 0 / 0.5402 GB, free: 15.17 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.03188, allocations: 44 kB / 0.5402 GB, free: 15.12 MB / 474.7 MB 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 (34): * Single equations (assignments): 33 * 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.0005659/0.03245, allocations: 346 kB / 0.5406 GB, free: 14.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.03261, allocations: 143.3 kB / 0.5407 GB, free: 14.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.03261, allocations: 0.5 kB / 0.5407 GB, free: 14.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.03269, allocations: 94.31 kB / 0.5408 GB, free: 14.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.03284, allocations: 40.47 kB / 0.5408 GB, free: 14.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.03336, allocations: 421.6 kB / 0.5412 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.03341, allocations: 94.05 kB / 0.5413 GB, free: 14.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.03352, allocations: 71.56 kB / 0.5414 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.03364, allocations: 143.6 kB / 0.5415 GB, free: 13.88 MB / 474.7 MB Notification: Performance of SimCode: time 4.41e-07/0.03364, allocations: 0 / 0.5415 GB, free: 13.88 MB / 474.7 MB Notification: Performance of Templates: time 0.004177/0.03782, allocations: 3.072 MB / 0.5445 GB, free: 10.93 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3538396768271923]