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.00103/0.001029, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001228/0.001228, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 8.219 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2094, allocations: 82.3 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001763/0.2112, allocations: 1.157 MB / 0.5885 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.212, allocations: 423.3 kB / 0.5889 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.212, allocations: 0 / 0.5889 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.2121, allocations: 3.938 kB / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.2122, allocations: 3.984 kB / 0.5889 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.2123, allocations: 19.92 kB / 0.5889 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.778e-05/0.2124, allocations: 51.78 kB / 0.589 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2126, allocations: 11.98 kB / 0.589 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.2126, allocations: 15.94 kB / 0.589 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.2127, allocations: 19.91 kB / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.2127, allocations: 8 kB / 0.589 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.2127, allocations: 0 / 0.589 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.2127, allocations: 7.984 kB / 0.589 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.2128, allocations: 33.7 kB / 0.5891 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.066e-05/0.2129, allocations: 31.94 kB / 0.5891 GB, free: 1.211 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2129, allocations: 0 / 0.5891 GB, free: 1.211 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2129, allocations: 0 / 0.5891 GB, free: 1.211 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2129, allocations: 0 / 0.5891 GB, free: 1.211 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.0006277/0.2136, allocations: 359.5 kB / 0.5894 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2136, allocations: 8.031 kB / 0.5894 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.2137, allocations: 7.906 kB / 0.5895 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.2138, allocations: 174.9 kB / 0.5896 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.2139, allocations: 4 kB / 0.5896 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.2139, allocations: 8 kB / 0.5896 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.214, allocations: 53.67 kB / 0.5897 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2141, allocations: 3.938 kB / 0.5897 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2141, allocations: 4 kB / 0.5897 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2141, allocations: 4 kB / 0.5897 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/0.2142, allocations: 23.98 kB / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.2148, allocations: 300.7 kB / 0.59 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.2149, allocations: 58.59 kB / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.2149, allocations: 28.94 kB / 0.5901 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.215, allocations: 4 kB / 0.5901 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.2152, allocations: 75.36 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2152, allocations: 3.938 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002375/0.2154, allocations: 93.56 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.2155, allocations: 71.28 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.2156, allocations: 105.8 kB / 0.5904 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.2156, allocations: 29.7 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.2157, allocations: 84.12 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.2157, allocations: 23.66 kB / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.2157, allocations: 4 kB / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2159, allocations: 318.8 kB / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.2159, allocations: 12 kB / 0.5909 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.216, allocations: 47.42 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.216, allocations: 20 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.216, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001438/0.2162, allocations: 97.55 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2162, allocations: 10.5 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2162, allocations: 0 / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2163, allocations: 0 / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.2163, allocations: 16.02 kB / 0.5911 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2163, allocations: 7.953 kB / 0.5911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.2164, allocations: 12.25 kB / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2164, allocations: 4 kB / 0.5911 GB, free: 14.95 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.2165, allocations: 125.8 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.2166, allocations: 7.984 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.2166, allocations: 7.969 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2166, allocations: 4 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2166, allocations: 4 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2166, allocations: 3.953 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.217, allocations: 358.4 kB / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2171, allocations: 0 / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.2171, allocations: 4 kB / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2171, allocations: 4.406 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2171, allocations: 3.984 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2171, allocations: 7.953 kB / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2171, allocations: 4 kB / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.2173, allocations: 179.4 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.2174, allocations: 88.94 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2174, allocations: 0 / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.2175, allocations: 8 kB / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.2175, allocations: 15.94 kB / 0.5919 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.2175, allocations: 4 kB / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.2176, allocations: 83.27 kB / 0.592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2176, allocations: 3.938 kB / 0.592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002203/0.2178, allocations: 16 kB / 0.592 GB, free: 13.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.2179, allocations: 95.25 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.2181, allocations: 55.91 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2181, allocations: 0 / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/0.2181, allocations: 32 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.2184, allocations: 7.984 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.2188, allocations: 176.7 kB / 0.5923 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2192, allocations: 0.6848 MB / 0.593 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.2192, allocations: 7.984 kB / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.2192, allocations: 11.44 kB / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.2192, allocations: 0 / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.002863/0.2221, allocations: 0.6674 MB / 0.5937 GB, free: 12.14 MB / 0.4981 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)