Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007896/0.007896, allocations: 102 kB / 15.73 MB, free: 6.051 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.001739/0.001739, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9205/0.9205, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 61.81 kB / 0.5856 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1952, allocations: 80.91 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003703/0.199, allocations: 1.47 MB / 0.666 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.2, allocations: 442.9 kB / 0.6665 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.2001, allocations: 4 kB / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.2001, allocations: 3.938 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.2003, allocations: 11.86 kB / 0.6665 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.2005, allocations: 19.97 kB / 0.6665 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2006, allocations: 47.86 kB / 0.6665 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2007, allocations: 27.92 kB / 0.6666 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.467e-05/0.2008, allocations: 23.92 kB / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.2009, allocations: 19.91 kB / 0.6666 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.201, allocations: 4 kB / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.201, allocations: 4 kB / 0.6666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.201, allocations: 15.92 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.2011, allocations: 19.92 kB / 0.6666 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.2012, allocations: 47.75 kB / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.2012, allocations: 7.938 kB / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2013, allocations: 4 kB / 0.6667 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2013, allocations: 0 / 0.6667 GB, free: 3.637 MB / 0.4981 GB 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.0006262/0.2019, allocations: 355.5 kB / 0.667 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.202, allocations: 9.109 kB / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.202, allocations: 4.938 kB / 0.6671 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.2022, allocations: 168.2 kB / 0.6672 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2022, allocations: 4.375 kB / 0.6672 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.2022, allocations: 12.36 kB / 0.6672 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.2024, allocations: 69.92 kB / 0.6673 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2024, allocations: 0 / 0.6673 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2024, allocations: 0 / 0.6673 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2024, allocations: 0 / 0.6673 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.028e-05/0.2025, allocations: 27.98 kB / 0.6673 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.2031, allocations: 292.9 kB / 0.6676 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2032, allocations: 58.5 kB / 0.6677 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.2033, allocations: 24.94 kB / 0.6677 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.2033, allocations: 4 kB / 0.6677 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.2035, allocations: 75.23 kB / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.424e-06/0.2036, allocations: 0 / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002593/0.2038, allocations: 105.5 kB / 0.6679 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.2039, allocations: 55.41 kB / 0.6679 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/0.204, allocations: 105.8 kB / 0.668 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.204, allocations: 29.7 kB / 0.668 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.2041, allocations: 88.05 kB / 0.6681 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.2041, allocations: 31.62 kB / 0.6682 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.2042, allocations: 29.66 kB / 0.6682 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2043, allocations: 318.8 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.2044, allocations: 20 kB / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.2044, allocations: 47.42 kB / 0.6686 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.993e-05/0.2045, allocations: 67.36 kB / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2045, allocations: 0 / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001517/0.2047, allocations: 89.61 kB / 0.6687 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2047, allocations: 9.719 kB / 0.6687 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2047, allocations: 64 / 0.6687 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2047, allocations: 8.031 kB / 0.6687 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.2048, allocations: 11.94 kB / 0.6687 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.2049, allocations: 4 kB / 0.6687 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.2049, allocations: 11.89 kB / 0.6687 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.2049, allocations: 8 kB / 0.6688 GB, free: 1.289 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,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 9.62e-05/0.205, allocations: 122 kB / 0.6689 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.2051, allocations: 0 / 0.6689 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.2051, allocations: 11.97 kB / 0.6689 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2051, allocations: 4 kB / 0.6689 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.2051, allocations: 0 / 0.6689 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2051, allocations: 3.938 kB / 0.6689 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.2056, allocations: 362.3 kB / 0.6692 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2056, allocations: 4 kB / 0.6692 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.2056, allocations: 0 / 0.6692 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2056, allocations: 4 kB / 0.6692 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2056, allocations: 480 / 0.6692 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2056, allocations: 3.938 kB / 0.6692 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2057, allocations: 4 kB / 0.6693 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.2058, allocations: 183.4 kB / 0.6694 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.2059, allocations: 85.02 kB / 0.6695 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.2059, allocations: 4 kB / 0.6695 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.206, allocations: 15.86 kB / 0.6695 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.2061, allocations: 7.984 kB / 0.6695 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2061, allocations: 0 / 0.6695 GB, free: 400 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.2061, allocations: 87.28 kB / 0.6696 GB, free: 312 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2061, allocations: 0 / 0.6696 GB, free: 312 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002418/0.2064, allocations: 16 kB / 0.6696 GB, free: 296 kB / 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.0001215/0.2065, allocations: 96.58 kB / 0.6697 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.2067, allocations: 59.84 kB / 0.6698 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2067, allocations: 0 / 0.6698 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.493e-05/0.2067, allocations: 20 kB / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.207, allocations: 20.05 kB / 0.6698 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.2075, allocations: 153.4 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.2078, allocations: 0.6885 MB / 0.6706 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.2078, allocations: 4 kB / 0.6706 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.2079, allocations: 15.44 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2079, allocations: 0 / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.003312/0.2112, allocations: 0.7794 MB / 0.6714 GB, free: 14.4 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)