Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002798/0.002798, allocations: 181.6 kB / 7.453 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6394/0.6394, allocations: 130.6 MB / 138.5 MB, free: 2.176 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.4 MB / 391.4 MB, free: 13 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.000936, allocations: 97.83 kB / 473.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.235e-06/8.255e-06, allocations: 5.156 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1343, allocations: 81.59 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5625, allocations: 110.9 MB / 0.7359 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.5628, allocations: 78.12 kB / 0.736 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.006915/0.5697, allocations: 2.397 MB / 0.7384 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5697, allocations: 0 / 0.7384 GB, free: 11.31 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003628/0.5701, allocations: 338.1 kB / 0.7387 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5702, allocations: 7.688 kB / 0.7387 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.5702, allocations: 7.719 kB / 0.7387 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.5704, allocations: 167.1 kB / 0.7388 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.5704, allocations: 3.781 kB / 0.7389 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.5704, allocations: 2 kB / 0.7389 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.766e-05/0.5705, allocations: 12.62 kB / 0.7389 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.5706, allocations: 72.45 kB / 0.7389 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5706, allocations: 1.312 kB / 0.7389 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.5706, allocations: 0 / 0.7389 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5707, allocations: 0 / 0.7389 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.571, allocations: 235.7 kB / 0.7392 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.318e-05/0.5711, allocations: 39.42 kB / 0.7392 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.5711, allocations: 18.08 kB / 0.7392 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.5711, allocations: 0 / 0.7392 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.028e-05/0.5712, allocations: 57.92 kB / 0.7393 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.5712, allocations: 0 / 0.7393 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001531/0.5714, allocations: 55.19 kB / 0.7393 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.5714, allocations: 102.8 kB / 0.7394 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.5715, allocations: 101.8 kB / 0.7395 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.5716, allocations: 30.67 kB / 0.7395 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.5716, allocations: 87.45 kB / 0.7396 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.5716, allocations: 9.156 kB / 0.7396 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.5716, allocations: 0 / 0.7396 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5717, allocations: 314.7 kB / 0.7399 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.5718, allocations: 15.94 kB / 0.74 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.5718, allocations: 37.69 kB / 0.74 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.5718, allocations: 13.28 kB / 0.74 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5719, allocations: 0 / 0.74 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.496e-05/0.5719, allocations: 53.22 kB / 0.7401 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.572, allocations: 5.234 kB / 0.7401 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.572, allocations: 0 / 0.7401 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.572, allocations: 3.875 kB / 0.7401 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.5721, allocations: 5.359 kB / 0.7401 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.5721, allocations: 0 / 0.7401 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.5722, allocations: 18.94 kB / 0.7401 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.5722, allocations: 3.938 kB / 0.7401 GB, free: 25.6 MB / 0.5105 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.645e-05/0.5723, allocations: 106.3 kB / 0.7402 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.5723, allocations: 3.906 kB / 0.7402 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.5723, allocations: 10.16 kB / 0.7402 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5724, allocations: 1.547 kB / 0.7402 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5724, allocations: 0 / 0.7402 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5724, allocations: 0 / 0.7402 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.665e-05/0.5725, allocations: 152.5 kB / 0.7404 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5725, allocations: 3.984 kB / 0.7404 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.5725, allocations: 7.812 kB / 0.7404 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5725, allocations: 0.9844 kB / 0.7404 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.5725, allocations: 0 / 0.7404 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5725, allocations: 3.906 kB / 0.7404 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5725, allocations: 1.453 kB / 0.7404 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.105e-05/0.5726, allocations: 78.53 kB / 0.7404 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.5727, allocations: 94.28 kB / 0.7405 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.5727, allocations: 0 / 0.7405 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5728, allocations: 11.84 kB / 0.7405 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.5729, allocations: 5.5 kB / 0.7405 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.5729, allocations: 0 / 0.7405 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.442e-05/0.5729, allocations: 92.66 kB / 0.7406 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001959/0.5731, allocations: 11.03 kB / 0.7406 GB, free: 25.06 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001322/0.5733, allocations: 103.9 kB / 0.7407 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.897e-05/0.5734, allocations: 24.19 kB / 0.7408 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5734, allocations: 3.812 kB / 0.7408 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.5734, allocations: 12.95 kB / 0.7408 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.5735, allocations: 7.359 kB / 0.7408 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.5738, allocations: 72.06 kB / 0.7409 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.5741, allocations: 0.6996 MB / 0.7415 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.5741, allocations: 0 / 0.7415 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of Templates: time 0.002521/0.5766, allocations: 0.7881 MB / 0.7423 GB, free: 24.12 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)