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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008959/0.0008962, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.102/1.102, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004374, allocations: 12 kB / 0.507 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 82.31 MB / 0.5874 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002654/0.2451, allocations: 1.177 MB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008656/0.246, allocations: 415.3 kB / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.246, allocations: 0 / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.2461, allocations: 0 / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.2462, allocations: 15.92 kB / 0.5889 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.2464, allocations: 11.98 kB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.677e-05/0.2465, allocations: 43.86 kB / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2467, allocations: 11.98 kB / 0.589 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.2468, allocations: 23.91 kB / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/0.2469, allocations: 15.92 kB / 0.589 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.2469, allocations: 4 kB / 0.589 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.2469, allocations: 0 / 0.589 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.2469, allocations: 11.92 kB / 0.589 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.247, allocations: 33.7 kB / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.717e-05/0.2471, allocations: 31.95 kB / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2471, allocations: 0 / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2471, allocations: 0 / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2471, allocations: 0 / 0.5891 GB, free: 1.16 MB / 494.1 MB 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.0007084/0.2478, allocations: 355.5 kB / 0.5894 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.2479, allocations: 8.031 kB / 0.5895 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.248, allocations: 7.906 kB / 0.5895 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.2482, allocations: 174.9 kB / 0.5896 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.2482, allocations: 8 kB / 0.5896 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.2482, allocations: 4 kB / 0.5896 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2484, allocations: 53.67 kB / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2484, allocations: 0 / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2485, allocations: 4 kB / 0.5897 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2485, allocations: 0 / 0.5897 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.2485, allocations: 27.92 kB / 0.5897 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.2492, allocations: 312.7 kB / 0.59 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.2494, allocations: 58.53 kB / 0.5901 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.2494, allocations: 24.95 kB / 0.5901 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2495, allocations: 11.94 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.2497, allocations: 71.38 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.2497, allocations: 0 / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002765/0.25, allocations: 97.61 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.2501, allocations: 51.41 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2502, allocations: 113.7 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2502, allocations: 29.7 kB / 0.5905 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.2503, allocations: 84.14 kB / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.2504, allocations: 23.66 kB / 0.5906 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.2504, allocations: 4 kB / 0.5906 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2505, allocations: 318.8 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.2506, allocations: 16 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.2506, allocations: 43.36 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.2507, allocations: 28.17 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2507, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001664/0.2509, allocations: 93.61 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2509, allocations: 8 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2509, allocations: 0 / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2509, allocations: 0 / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.506e-05/0.251, allocations: 19.98 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.251, allocations: 4 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.2511, allocations: 11.86 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.2511, allocations: 8.031 kB / 0.5911 GB, free: 14.89 MB / 0.4981 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 () * Number of clocked 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 0.0001172/0.2513, allocations: 125.8 kB / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.2513, allocations: 0 / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.2513, allocations: 7.969 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2514, allocations: 4.375 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2514, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2514, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.2518, allocations: 378.2 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2519, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.2519, allocations: 7.984 kB / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2519, allocations: 0 / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2519, allocations: 0 / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2519, allocations: 4 kB / 0.5916 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.2519, allocations: 3.953 kB / 0.5916 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.2521, allocations: 183.5 kB / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.2522, allocations: 84.95 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2522, allocations: 0 / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.2523, allocations: 15.98 kB / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.2524, allocations: 7.984 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.2524, allocations: 3.953 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.2524, allocations: 83.28 kB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2525, allocations: 0 / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002292/0.2527, allocations: 12 kB / 0.592 GB, free: 13.88 MB / 0.4981 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 () * Number of clocked 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.0001279/0.2528, allocations: 103.2 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.253, allocations: 55.84 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.253, allocations: 0 / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.2531, allocations: 24 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.2534, allocations: 12.97 kB / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.2538, allocations: 165.1 kB / 0.5923 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.2541, allocations: 0.6848 MB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.2542, allocations: 4 kB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.2542, allocations: 15.42 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.675e-06/0.2542, allocations: 0 / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.003442/0.2577, allocations: 0.6567 MB / 0.5936 GB, free: 12.12 MB / 0.4981 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)