Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00172/0.00172, allocations: 179.9 kB / 7.464 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5911/0.5911, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.11/1.11, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008152/0.0008151, allocations: 91.16 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.319e-06, allocations: 0 / 0.5528 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3145/0.418, allocations: 111.2 MB / 0.7418 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.4182, allocations: 71.27 kB / 0.7419 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003318/0.4216, allocations: 1.101 MB / 0.743 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.4216, allocations: 0 / 0.743 GB, free: 10.5 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.0003693/0.422, allocations: 352.2 kB / 0.7433 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.422, allocations: 11.62 kB / 0.7433 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.422, allocations: 3.906 kB / 0.7433 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.4222, allocations: 168.7 kB / 0.7435 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4222, allocations: 3.875 kB / 0.7435 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.4222, allocations: 7.875 kB / 0.7435 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.595e-05/0.4223, allocations: 21.36 kB / 0.7435 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.68e-05/0.4224, allocations: 56.67 kB / 0.7436 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.4224, allocations: 0 / 0.7436 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.4224, allocations: 0 / 0.7436 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.4224, allocations: 3.844 kB / 0.7436 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.4228, allocations: 276.5 kB / 0.7439 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.4228, allocations: 46.56 kB / 0.7439 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.4229, allocations: 23.23 kB / 0.7439 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.4229, allocations: 0 / 0.7439 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/0.423, allocations: 68.66 kB / 0.744 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.423, allocations: 4 kB / 0.744 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001402/0.4231, allocations: 64.75 kB / 0.744 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.4232, allocations: 55.22 kB / 0.7441 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.4232, allocations: 99.34 kB / 0.7442 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.4233, allocations: 29.52 kB / 0.7442 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.4233, allocations: 88.94 kB / 0.7443 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.4233, allocations: 24.08 kB / 0.7443 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.4233, allocations: 0 / 0.7443 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.4234, allocations: 324.6 kB / 0.7446 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.4235, allocations: 14.88 kB / 0.7447 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.4235, allocations: 41.56 kB / 0.7447 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.4235, allocations: 14.3 kB / 0.7447 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4236, allocations: 0 / 0.7447 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001106/0.4237, allocations: 85.36 kB / 0.7448 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.4237, allocations: 7.938 kB / 0.7448 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4237, allocations: 0 / 0.7448 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.4237, allocations: 3.859 kB / 0.7448 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.4238, allocations: 17.05 kB / 0.7448 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.4238, allocations: 5.531 kB / 0.7448 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.4239, allocations: 14.81 kB / 0.7448 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.4239, allocations: 3.969 kB / 0.7448 GB, free: 24.84 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 6.484e-05/0.4239, allocations: 114 kB / 0.745 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.424, allocations: 0 / 0.745 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.424, allocations: 11.75 kB / 0.745 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.424, allocations: 0 / 0.745 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.424, allocations: 5.406 kB / 0.745 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.424, allocations: 0 / 0.745 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.4243, allocations: 328.2 kB / 0.7453 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4243, allocations: 0 / 0.7453 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.4244, allocations: 9.375 kB / 0.7453 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4244, allocations: 0 / 0.7453 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.4244, allocations: 0 / 0.7453 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4244, allocations: 1.016 kB / 0.7453 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4244, allocations: 1.359 kB / 0.7453 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001294/0.4245, allocations: 170.6 kB / 0.7455 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.4246, allocations: 84.86 kB / 0.7455 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.4246, allocations: 2.281 kB / 0.7455 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.4247, allocations: 13 kB / 0.7455 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.4247, allocations: 3.938 kB / 0.7456 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.4247, allocations: 5.203 kB / 0.7456 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.366e-05/0.4248, allocations: 82.25 kB / 0.7456 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002231/0.425, allocations: 16.8 kB / 0.7457 GB, free: 24.11 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 9.214e-05/0.4251, allocations: 106.8 kB / 0.7458 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.4252, allocations: 43.89 kB / 0.7458 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.4252, allocations: 192 / 0.7458 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.4253, allocations: 31.89 kB / 0.7458 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.4255, allocations: 5.578 kB / 0.7458 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002015/0.4257, allocations: 96.84 kB / 0.7459 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.4259, allocations: 0.703 MB / 0.7466 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4259, allocations: 0 / 0.7466 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.002322/0.4282, allocations: 0.7102 MB / 0.7473 GB, free: 23.16 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)