Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.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.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008556/0.008556, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.575/1.575, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8871/0.8871, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005836/0.0005836, allocations: 15.92 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6002, allocations: 81.57 MB / 0.5837 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001797/0.6021, allocations: 1.18 MB / 0.5848 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000695/0.6028, allocations: 443 kB / 0.5852 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.6028, allocations: 1.031 kB / 0.5852 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.6029, allocations: 4.688 kB / 0.5852 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.603, allocations: 2.344 kB / 0.5852 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.6031, allocations: 19.7 kB / 0.5853 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.6033, allocations: 48.12 kB / 0.5853 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.6034, allocations: 18.5 kB / 0.5853 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.6035, allocations: 21.56 kB / 0.5853 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.6036, allocations: 19.86 kB / 0.5854 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.6036, allocations: 2.438 kB / 0.5854 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.6036, allocations: 2.438 kB / 0.5854 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.6036, allocations: 8.062 kB / 0.5854 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.6037, allocations: 48.86 kB / 0.5854 GB, free: 3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.6038, allocations: 37.39 kB / 0.5855 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6038, allocations: 0 / 0.5855 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6038, allocations: 0.9375 kB / 0.5855 GB, free: 2.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.6039, allocations: 1.375 kB / 0.5855 GB, free: 2.988 MB / 430.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.0005365/0.6044, allocations: 358.7 kB / 0.5858 GB, free: 2.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.6045, allocations: 8.906 kB / 0.5858 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.6045, allocations: 8.656 kB / 0.5858 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.6046, allocations: 168.4 kB / 0.586 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.6047, allocations: 2.5 kB / 0.586 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.6047, allocations: 4.688 kB / 0.586 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.6048, allocations: 66.06 kB / 0.5861 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.6048, allocations: 0 / 0.5861 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.6048, allocations: 5.406 kB / 0.5861 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.6049, allocations: 5.969 kB / 0.5861 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.553e-05/0.605, allocations: 21.81 kB / 0.5861 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.6055, allocations: 313.2 kB / 0.5864 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.6056, allocations: 61.17 kB / 0.5864 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.6057, allocations: 27.41 kB / 0.5865 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.6057, allocations: 1.438 kB / 0.5865 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.6059, allocations: 73.05 kB / 0.5865 GB, free: 1.945 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.6059, allocations: 1 kB / 0.5865 GB, free: 1.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002657/0.6062, allocations: 100.4 kB / 0.5866 GB, free: 1.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.6063, allocations: 62.41 kB / 0.5867 GB, free: 1.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.6063, allocations: 103.2 kB / 0.5868 GB, free: 1.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.6064, allocations: 27.47 kB / 0.5868 GB, free: 1.688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.6064, allocations: 90.83 kB / 0.5869 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.6064, allocations: 20.33 kB / 0.5869 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.6065, allocations: 20.58 kB / 0.5869 GB, free: 1.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.6065, allocations: 318.9 kB / 0.5872 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.076e-05/0.6066, allocations: 19.92 kB / 0.5873 GB, free: 1.238 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.6066, allocations: 48.95 kB / 0.5873 GB, free: 1.195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.325e-05/0.6067, allocations: 68.33 kB / 0.5874 GB, free: 1.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6067, allocations: 0 / 0.5874 GB, free: 1.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001552/0.6069, allocations: 97.84 kB / 0.5875 GB, free: 1.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6069, allocations: 6.219 kB / 0.5875 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6069, allocations: 0.8125 kB / 0.5875 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.607, allocations: 5.656 kB / 0.5875 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.607, allocations: 10.8 kB / 0.5875 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6071, allocations: 2.031 kB / 0.5875 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.6071, allocations: 7.734 kB / 0.5875 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.6071, allocations: 11.53 kB / 0.5875 GB, free: 1.07 MB / 430.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 7.225e-05/0.6072, allocations: 126.7 kB / 0.5876 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.6072, allocations: 7.594 kB / 0.5876 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.6073, allocations: 9.875 kB / 0.5877 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6073, allocations: 4.656 kB / 0.5877 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6073, allocations: 0.75 kB / 0.5877 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.6073, allocations: 0.7969 kB / 0.5877 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.6077, allocations: 365 kB / 0.588 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6077, allocations: 0 / 0.588 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.6078, allocations: 4 kB / 0.588 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6078, allocations: 0.7188 kB / 0.588 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.6078, allocations: 6.234 kB / 0.588 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6078, allocations: 4.5 kB / 0.588 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.6078, allocations: 4.688 kB / 0.588 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.608, allocations: 182.6 kB / 0.5882 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.608, allocations: 80.89 kB / 0.5883 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.6081, allocations: 0 / 0.5883 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.6082, allocations: 15.98 kB / 0.5883 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.6082, allocations: 11.88 kB / 0.5883 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.6082, allocations: 3.422 kB / 0.5883 GB, free: 328 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.866e-05/0.6083, allocations: 87.81 kB / 0.5884 GB, free: 244 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6083, allocations: 0 / 0.5884 GB, free: 244 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.6085, allocations: 11.31 kB / 0.5884 GB, free: 244 kB / 430.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.0001179/0.6087, allocations: 99.64 kB / 0.5885 GB, free: 148 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.6088, allocations: 53.61 kB / 0.5885 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6089, allocations: 4.25 kB / 0.5886 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.6089, allocations: 32.02 kB / 0.5886 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.6092, allocations: 9.609 kB / 0.5886 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/0.6098, allocations: 183.3 kB / 0.5888 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.6101, allocations: 0.6844 MB / 0.5894 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.6102, allocations: 6.516 kB / 0.5894 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.6102, allocations: 10.81 kB / 0.5895 GB, free: 15.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.547e-06/0.6102, allocations: 0 / 0.5895 GB, free: 15.27 MB / 446.1 MB Notification: Performance of Templates: time 0.003772/0.614, allocations: 0.6782 MB / 0.5901 GB, free: 15.19 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)