Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") [: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.00263/0.00263, allocations: 181 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6503/0.6503, allocations: 130.6 MB / 138.5 MB, free: 2.227 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.373/1.373, allocations: 221.3 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.0009039/0.0009038, allocations: 98.77 kB / 473.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.424e-06, allocations: 3.438 kB / 0.5479 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1482, allocations: 81.58 MB / 0.6276 GB, free: 17.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4715/0.6198, allocations: 111 MB / 0.736 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.6201, allocations: 71.55 kB / 0.736 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003512/0.6236, allocations: 1.099 MB / 0.7371 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6236, allocations: 0 / 0.7371 GB, free: 11.58 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003791/0.624, allocations: 353.6 kB / 0.7374 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.6241, allocations: 11.44 kB / 0.7375 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.6241, allocations: 3.906 kB / 0.7375 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.6243, allocations: 173.9 kB / 0.7376 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.6243, allocations: 3.812 kB / 0.7376 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.6243, allocations: 3.906 kB / 0.7376 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.793e-05/0.6244, allocations: 20.08 kB / 0.7377 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.38e-05/0.6245, allocations: 61.25 kB / 0.7377 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.6245, allocations: 0 / 0.7377 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.6245, allocations: 0 / 0.7377 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6245, allocations: 3.812 kB / 0.7377 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.6249, allocations: 270 kB / 0.738 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.085e-05/0.625, allocations: 43.95 kB / 0.738 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.6251, allocations: 20.14 kB / 0.738 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.6251, allocations: 7.375 kB / 0.738 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.59e-05/0.6252, allocations: 68.92 kB / 0.7381 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.6252, allocations: 4 kB / 0.7381 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001556/0.6253, allocations: 69.48 kB / 0.7382 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.6254, allocations: 59.25 kB / 0.7382 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.6254, allocations: 95.39 kB / 0.7383 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.6255, allocations: 29.33 kB / 0.7383 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.6255, allocations: 87.95 kB / 0.7384 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.6255, allocations: 22.16 kB / 0.7385 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.6256, allocations: 0 / 0.7385 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.6257, allocations: 322.4 kB / 0.7388 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.6257, allocations: 11.16 kB / 0.7388 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.6257, allocations: 44.05 kB / 0.7388 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.6258, allocations: 18.09 kB / 0.7388 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6258, allocations: 0 / 0.7388 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000109/0.6259, allocations: 87.94 kB / 0.7389 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.6259, allocations: 7.688 kB / 0.7389 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6259, allocations: 4.078 kB / 0.7389 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.6259, allocations: 7.828 kB / 0.7389 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.626, allocations: 7.625 kB / 0.7389 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.626, allocations: 0 / 0.7389 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.6261, allocations: 10.28 kB / 0.739 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.6261, allocations: 7.531 kB / 0.739 GB, free: 25.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.345e-05/0.6262, allocations: 110.5 kB / 0.7391 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.6262, allocations: 8.625 kB / 0.7391 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.6262, allocations: 9.172 kB / 0.7391 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6262, allocations: 3.844 kB / 0.7391 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6262, allocations: 4.609 kB / 0.7391 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6263, allocations: 0 / 0.7391 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.6266, allocations: 328.2 kB / 0.7394 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6266, allocations: 0 / 0.7394 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.6266, allocations: 4.859 kB / 0.7394 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6266, allocations: 0 / 0.7394 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.6267, allocations: 4.641 kB / 0.7394 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6267, allocations: 0 / 0.7394 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6267, allocations: 3.938 kB / 0.7394 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001219/0.6268, allocations: 175 kB / 0.7396 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.6268, allocations: 81.72 kB / 0.7397 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.6269, allocations: 4.5 kB / 0.7397 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.627, allocations: 6.047 kB / 0.7397 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.627, allocations: 7.844 kB / 0.7397 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.627, allocations: 9.234 kB / 0.7397 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.317e-05/0.6271, allocations: 79.86 kB / 0.7398 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002112/0.6273, allocations: 11.56 kB / 0.7398 GB, free: 25.21 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001259/0.6274, allocations: 99.92 kB / 0.7399 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.6275, allocations: 48.28 kB / 0.7399 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6275, allocations: 0 / 0.7399 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.6276, allocations: 27.52 kB / 0.7399 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.6278, allocations: 8.297 kB / 0.7399 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.628, allocations: 87.67 kB / 0.74 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.6283, allocations: 0.7066 MB / 0.7407 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/0.6283, allocations: 0 / 0.7407 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.002486/0.6308, allocations: 0.7121 MB / 0.7414 GB, free: 24.26 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)