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.001225/0.001225, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.0015, allocations: 195 kB / 16.53 MB, free: 6.391 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.502/1.502, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.068/1.068, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 61.25 kB / 0.5053 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2144, allocations: 80.93 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003245/0.2177, allocations: 1.464 MB / 0.5858 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008048/0.2185, allocations: 436.6 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.2186, allocations: 0 / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.2186, allocations: 3.938 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.2188, allocations: 19.86 kB / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.219, allocations: 23.97 kB / 0.5863 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2191, allocations: 47.8 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.2193, allocations: 11.98 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.2194, allocations: 27.92 kB / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.2195, allocations: 23.91 kB / 0.5864 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.2195, allocations: 4 kB / 0.5864 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/0.2195, allocations: 4 kB / 0.5864 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.2196, allocations: 7.984 kB / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.2196, allocations: 27.86 kB / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2198, allocations: 47.86 kB / 0.5865 GB, free: 2.414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2198, allocations: 0 / 0.5865 GB, free: 2.414 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2198, allocations: 0 / 0.5865 GB, free: 2.414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.2198, allocations: 0 / 0.5865 GB, free: 2.414 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.0006383/0.2205, allocations: 363.7 kB / 0.5868 GB, free: 2.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.2205, allocations: 12.03 kB / 0.5868 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.2206, allocations: 12.78 kB / 0.5868 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.2208, allocations: 164.3 kB / 0.587 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2208, allocations: 4.375 kB / 0.587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.2208, allocations: 8.375 kB / 0.587 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.221, allocations: 57.98 kB / 0.587 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.221, allocations: 0 / 0.587 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.221, allocations: 7.938 kB / 0.5871 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.221, allocations: 4 kB / 0.5871 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.26e-05/0.2211, allocations: 27.92 kB / 0.5871 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.2217, allocations: 296.7 kB / 0.5874 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.2218, allocations: 62.59 kB / 0.5874 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.2219, allocations: 20.95 kB / 0.5874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.2219, allocations: 0 / 0.5874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.2221, allocations: 79.31 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2222, allocations: 0 / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002446/0.2224, allocations: 105.5 kB / 0.5876 GB, free: 1.043 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.2225, allocations: 51.41 kB / 0.5877 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.2225, allocations: 113.8 kB / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2226, allocations: 29.7 kB / 0.5878 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.2227, allocations: 88.05 kB / 0.5879 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.2227, allocations: 19.73 kB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.2227, allocations: 33.7 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2229, allocations: 318.8 kB / 0.5883 GB, free: 364 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.2229, allocations: 15.98 kB / 0.5883 GB, free: 348 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.223, allocations: 51.42 kB / 0.5883 GB, free: 284 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.81e-05/0.2231, allocations: 63.56 kB / 0.5884 GB, free: 208 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2231, allocations: 0 / 0.5884 GB, free: 208 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001367/0.2233, allocations: 101.5 kB / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2233, allocations: 4 kB / 0.5885 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2233, allocations: 4 kB / 0.5885 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2233, allocations: 0 / 0.5885 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.2234, allocations: 19.95 kB / 0.5885 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2234, allocations: 0 / 0.5885 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.2235, allocations: 8 kB / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.2235, allocations: 4 kB / 0.5885 GB, free: 60 kB / 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.0001445/0.2236, allocations: 129.7 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.2237, allocations: 3.906 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.2237, allocations: 7.969 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2237, allocations: 4 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2237, allocations: 4 kB / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2237, allocations: 0 / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.2242, allocations: 358.7 kB / 0.589 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2242, allocations: 0 / 0.589 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.2242, allocations: 7.984 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2242, allocations: 0 / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2242, allocations: 4 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.2242, allocations: 3.938 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2242, allocations: 0 / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.2244, allocations: 187.4 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.2245, allocations: 81.05 kB / 0.5893 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.2245, allocations: 8 kB / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.2246, allocations: 7.922 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.2246, allocations: 4 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2247, allocations: 4 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.966e-05/0.2247, allocations: 87.27 kB / 0.5894 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2247, allocations: 4 kB / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002233/0.225, allocations: 16 kB / 0.5894 GB, free: 15.05 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 (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.0001047/0.2251, allocations: 95.25 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.2252, allocations: 59.84 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2252, allocations: 0 / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.2253, allocations: 24 kB / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2256, allocations: 11.98 kB / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.2259, allocations: 161.7 kB / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.2262, allocations: 0.6846 MB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.2263, allocations: 7.984 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.2263, allocations: 15.38 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.2263, allocations: 0 / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.003266/0.2296, allocations: 0.7805 MB / 0.5912 GB, free: 13.17 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)