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.001412/0.001412, allocations: 103 kB / 16.35 MB, free: 5.828 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.001473/0.001473, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8339/0.8339, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.426, allocations: 80.91 MB / 0.5857 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003233/0.4292, allocations: 1.472 MB / 0.5872 GB, free: 24.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.4301, allocations: 446.8 kB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.4302, allocations: 5.656 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.4302, allocations: 0 / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.4304, allocations: 8.906 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.4306, allocations: 28.95 kB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.4307, allocations: 52.64 kB / 0.5877 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.4308, allocations: 14.27 kB / 0.5877 GB, free: 24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.4309, allocations: 19.64 kB / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.431, allocations: 18.52 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.431, allocations: 4.5 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.431, allocations: 3.531 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.4311, allocations: 19.56 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.4311, allocations: 23.7 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.4312, allocations: 42.83 kB / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4313, allocations: 0 / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.4313, allocations: 0.6875 kB / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.4313, allocations: 0 / 0.5878 GB, free: 23.92 MB / 446.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.0005484/0.4318, allocations: 364.9 kB / 0.5882 GB, free: 23.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4319, allocations: 11.27 kB / 0.5882 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.4319, allocations: 11.47 kB / 0.5882 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.4321, allocations: 167.7 kB / 0.5884 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4321, allocations: 7.422 kB / 0.5884 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.4321, allocations: 7.844 kB / 0.5884 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.4322, allocations: 61.47 kB / 0.5884 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4322, allocations: 0 / 0.5884 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4323, allocations: 1.594 kB / 0.5884 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.4323, allocations: 4.594 kB / 0.5885 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.4323, allocations: 26.89 kB / 0.5885 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.4328, allocations: 310.2 kB / 0.5888 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.4329, allocations: 58.84 kB / 0.5888 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.433, allocations: 30.56 kB / 0.5889 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.433, allocations: 1.125 kB / 0.5889 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.4332, allocations: 73.55 kB / 0.5889 GB, free: 22.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.4332, allocations: 0 / 0.5889 GB, free: 22.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002435/0.4334, allocations: 101.6 kB / 0.589 GB, free: 22.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4335, allocations: 53.78 kB / 0.5891 GB, free: 22.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.4335, allocations: 104.9 kB / 0.5892 GB, free: 22.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.4336, allocations: 31.02 kB / 0.5892 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.4336, allocations: 87.89 kB / 0.5893 GB, free: 22.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.4336, allocations: 18.42 kB / 0.5893 GB, free: 22.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.4337, allocations: 26.47 kB / 0.5893 GB, free: 22.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.4337, allocations: 324.7 kB / 0.5896 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.4338, allocations: 16 kB / 0.5897 GB, free: 22.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.4338, allocations: 48.59 kB / 0.5897 GB, free: 22.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.118e-05/0.4339, allocations: 69.02 kB / 0.5898 GB, free: 21.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4339, allocations: 0 / 0.5898 GB, free: 21.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001327/0.4341, allocations: 94.89 kB / 0.5899 GB, free: 21.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4341, allocations: 8.062 kB / 0.5899 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4341, allocations: 3.938 kB / 0.5899 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4341, allocations: 3.344 kB / 0.5899 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.4342, allocations: 12.41 kB / 0.5899 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4342, allocations: 5.203 kB / 0.5899 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.4343, allocations: 16.8 kB / 0.5899 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.4343, allocations: 9.484 kB / 0.5899 GB, free: 21.9 MB / 446.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 8.22e-05/0.4344, allocations: 121 kB / 0.59 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.4344, allocations: 5.812 kB / 0.59 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.4345, allocations: 9.344 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4345, allocations: 5.719 kB / 0.5901 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4345, allocations: 4.469 kB / 0.5901 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4345, allocations: 7.672 kB / 0.5901 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.4348, allocations: 354.8 kB / 0.5904 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4348, allocations: 1.656 kB / 0.5904 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.4349, allocations: 2.469 kB / 0.5904 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4349, allocations: 1.469 kB / 0.5904 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.4349, allocations: 4.75 kB / 0.5904 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.4349, allocations: 9.375 kB / 0.5904 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4349, allocations: 1.719 kB / 0.5904 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.435, allocations: 180 kB / 0.5906 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.4351, allocations: 83.92 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.4351, allocations: 1.25 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.4352, allocations: 10.52 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.4352, allocations: 8.453 kB / 0.5907 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.4352, allocations: 7.438 kB / 0.5907 GB, free: 21.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.532e-05/0.4353, allocations: 79.66 kB / 0.5908 GB, free: 21.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4353, allocations: 0 / 0.5908 GB, free: 21.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.4355, allocations: 17 kB / 0.5908 GB, free: 21.04 MB / 446.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 7.679e-05/0.4356, allocations: 100.4 kB / 0.5909 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.4357, allocations: 55.86 kB / 0.5909 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4357, allocations: 5.594 kB / 0.5909 GB, free: 20.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.687e-05/0.4358, allocations: 20.19 kB / 0.591 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4361, allocations: 18.17 kB / 0.591 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.4364, allocations: 150.2 kB / 0.5911 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.4365, allocations: 0.6818 MB / 0.5918 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.667e-05/0.4365, allocations: 9.609 kB / 0.5918 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.4366, allocations: 15.38 kB / 0.5918 GB, free: 19.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4366, allocations: 0 / 0.5918 GB, free: 19.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002837/0.4394, allocations: 0.7731 MB / 0.5926 GB, free: 19.19 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)