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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001015/0.001015, allocations: 196.4 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7962/0.7962, allocations: 132.2 MB / 422.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001198, allocations: 59.34 kB / 0.5019 GB, free: 9.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2262, allocations: 80.2 MB / 0.5802 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003641/0.2299, allocations: 1.535 MB / 0.5817 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009001/0.2309, allocations: 438.9 kB / 0.5821 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.2309, allocations: 4 kB / 0.5821 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.087e-05/0.231, allocations: 3.984 kB / 0.5821 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.2311, allocations: 11.88 kB / 0.5821 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.2313, allocations: 15.97 kB / 0.5822 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2314, allocations: 51.86 kB / 0.5822 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2316, allocations: 15.98 kB / 0.5822 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.2317, allocations: 23.94 kB / 0.5822 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.318e-05/0.2317, allocations: 19.91 kB / 0.5823 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.2318, allocations: 4 kB / 0.5823 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.2318, allocations: 4 kB / 0.5823 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.2318, allocations: 11.98 kB / 0.5823 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.2319, allocations: 23.86 kB / 0.5823 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.232, allocations: 27.95 kB / 0.5823 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.232, allocations: 4 kB / 0.5823 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.232, allocations: 0 / 0.5823 GB, free: 6.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.232, allocations: 0 / 0.5823 GB, free: 6.91 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.0006968/0.2328, allocations: 359.7 kB / 0.5827 GB, free: 6.512 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.2328, allocations: 12.03 kB / 0.5827 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.2329, allocations: 4.844 kB / 0.5827 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.2331, allocations: 176.2 kB / 0.5829 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2331, allocations: 4.375 kB / 0.5829 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.2331, allocations: 4.375 kB / 0.5829 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.2333, allocations: 58 kB / 0.5829 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2333, allocations: 0 / 0.5829 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2333, allocations: 11.92 kB / 0.5829 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2333, allocations: 0 / 0.5829 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.727e-05/0.2334, allocations: 31.92 kB / 0.583 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.234, allocations: 292.7 kB / 0.5832 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.2342, allocations: 62.59 kB / 0.5833 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.2342, allocations: 28.94 kB / 0.5833 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2342, allocations: 0 / 0.5833 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.2345, allocations: 75.31 kB / 0.5834 GB, free: 5.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2345, allocations: 0 / 0.5834 GB, free: 5.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002736/0.2348, allocations: 101.5 kB / 0.5835 GB, free: 5.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.2348, allocations: 55.41 kB / 0.5836 GB, free: 5.477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.235, allocations: 109.8 kB / 0.5837 GB, free: 5.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.235, allocations: 33.7 kB / 0.5837 GB, free: 5.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.2351, allocations: 87.98 kB / 0.5838 GB, free: 5.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.2351, allocations: 23.73 kB / 0.5838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.2352, allocations: 25.72 kB / 0.5838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2353, allocations: 326.8 kB / 0.5841 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.2354, allocations: 12 kB / 0.5841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.2355, allocations: 51.42 kB / 0.5842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.2356, allocations: 67.36 kB / 0.5843 GB, free: 4.695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2356, allocations: 0 / 0.5843 GB, free: 4.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001441/0.2357, allocations: 97.52 kB / 0.5844 GB, free: 4.594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2357, allocations: 4 kB / 0.5844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2358, allocations: 0 / 0.5844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.2358, allocations: 4 kB / 0.5844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.2359, allocations: 15.97 kB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2359, allocations: 0 / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.236, allocations: 15.98 kB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.236, allocations: 4 kB / 0.5844 GB, free: 4.551 MB / 494.1 MB 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.2361, allocations: 122.4 kB / 0.5845 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.2361, allocations: 7.906 kB / 0.5845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.2362, allocations: 7.969 kB / 0.5845 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2362, allocations: 0 / 0.5845 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.2362, allocations: 7.984 kB / 0.5845 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2362, allocations: 4 kB / 0.5845 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.2367, allocations: 358.8 kB / 0.5849 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2367, allocations: 0 / 0.5849 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.2367, allocations: 7.938 kB / 0.5849 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2367, allocations: 0 / 0.5849 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2367, allocations: 4 kB / 0.5849 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2367, allocations: 3.938 kB / 0.5849 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2367, allocations: 4 kB / 0.5849 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.237, allocations: 183.4 kB / 0.5851 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.237, allocations: 85.33 kB / 0.5852 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.237, allocations: 4.062 kB / 0.5852 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.2371, allocations: 11.92 kB / 0.5852 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.2372, allocations: 7.984 kB / 0.5852 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2372, allocations: 11.98 kB / 0.5852 GB, free: 3.637 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.446e-05/0.2373, allocations: 79.28 kB / 0.5853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2373, allocations: 4 kB / 0.5853 GB, free: 3.555 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.2375, allocations: 16 kB / 0.5853 GB, free: 3.539 MB / 494.1 MB 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 (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.0001241/0.2376, allocations: 95.23 kB / 0.5854 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.2378, allocations: 63.86 kB / 0.5854 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2378, allocations: 0 / 0.5854 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.761e-05/0.2379, allocations: 27.98 kB / 0.5855 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2382, allocations: 4.062 kB / 0.5855 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.2386, allocations: 195.4 kB / 0.5857 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.239, allocations: 0.6854 MB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.2391, allocations: 15.44 kB / 0.5863 GB, free: 2.391 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2391, allocations: 3.938 kB / 0.5863 GB, free: 2.387 MB / 494.1 MB Notification: Performance of Templates: time 0.002978/0.2421, allocations: 0.8593 MB / 0.5872 GB, free: 1.531 MB / 494.1 MB 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)