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.0008751/0.0008751, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007367/0.007367, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.65/1.65, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005103/0.0005104, allocations: 8.75 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2266, allocations: 82.32 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001792/0.2284, allocations: 1.173 MB / 0.5891 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.2291, allocations: 431 kB / 0.5895 GB, free: 1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.2292, allocations: 4 kB / 0.5895 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.2292, allocations: 0 / 0.5895 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.2293, allocations: 3.938 kB / 0.5895 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.2295, allocations: 23.97 kB / 0.5896 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.2297, allocations: 55.78 kB / 0.5896 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2298, allocations: 12 kB / 0.5896 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.594e-05/0.2299, allocations: 15.92 kB / 0.5896 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.362e-05/0.23, allocations: 15.92 kB / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.23, allocations: 4 kB / 0.5897 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.23, allocations: 0 / 0.5897 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.23, allocations: 11.98 kB / 0.5897 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.2301, allocations: 53.55 kB / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.86e-05/0.2302, allocations: 31.89 kB / 0.5897 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2302, allocations: 3.984 kB / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2303, allocations: 0 / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2303, allocations: 0 / 0.5898 GB, free: 0.7617 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.0006159/0.2309, allocations: 355.7 kB / 0.5901 GB, free: 376 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2309, allocations: 8.031 kB / 0.5901 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.231, allocations: 8.844 kB / 0.5901 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.2312, allocations: 180.2 kB / 0.5903 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.2312, allocations: 384 / 0.5903 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.2312, allocations: 8.375 kB / 0.5903 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.2314, allocations: 58 kB / 0.5903 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2314, allocations: 0 / 0.5903 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.2314, allocations: 7.922 kB / 0.5903 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2314, allocations: 0 / 0.5903 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/0.2315, allocations: 27.92 kB / 0.5904 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.2321, allocations: 308.7 kB / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2322, allocations: 58.59 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.2323, allocations: 28.88 kB / 0.5908 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.2323, allocations: 0 / 0.5908 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.2325, allocations: 71.39 kB / 0.5908 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.2325, allocations: 0 / 0.5908 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002618/0.2328, allocations: 101.5 kB / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.2328, allocations: 59.41 kB / 0.591 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.2329, allocations: 101.8 kB / 0.5911 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.233, allocations: 29.7 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.233, allocations: 84.14 kB / 0.5912 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.2331, allocations: 31.64 kB / 0.5912 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.2331, allocations: 17.72 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2333, allocations: 326.8 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/0.2333, allocations: 15.94 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.2334, allocations: 45.94 kB / 0.5916 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.2335, allocations: 75.53 kB / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2335, allocations: 0 / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001546/0.2336, allocations: 97.52 kB / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2337, allocations: 4 kB / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2337, allocations: 0 / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2337, allocations: 4 kB / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.2338, allocations: 12.06 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2338, allocations: 3.938 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.2339, allocations: 15.98 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.2339, allocations: 4.031 kB / 0.5918 GB, free: 14.41 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.991e-05/0.234, allocations: 121.8 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.234, allocations: 3.938 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.2341, allocations: 7.969 kB / 0.5919 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2341, allocations: 4 kB / 0.5919 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2341, allocations: 384 / 0.5919 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2341, allocations: 3.984 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.2345, allocations: 370.3 kB / 0.5923 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2345, allocations: 0 / 0.5923 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.2345, allocations: 7.938 kB / 0.5923 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2346, allocations: 0 / 0.5923 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2346, allocations: 4 kB / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2346, allocations: 3.938 kB / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2346, allocations: 0 / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2348, allocations: 187.4 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.2348, allocations: 81.05 kB / 0.5926 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2348, allocations: 8 kB / 0.5926 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.2349, allocations: 11.92 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.235, allocations: 7.984 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.235, allocations: 4 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.235, allocations: 83.28 kB / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.235, allocations: 0 / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002192/0.2353, allocations: 20 kB / 0.5927 GB, free: 13.39 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.0001005/0.2354, allocations: 98.75 kB / 0.5928 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.2355, allocations: 52.16 kB / 0.5928 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2355, allocations: 0 / 0.5928 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-05/0.2356, allocations: 31.92 kB / 0.5929 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.2358, allocations: 8.188 kB / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.2362, allocations: 189 kB / 0.5931 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.2365, allocations: 0.6848 MB / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.2365, allocations: 11.92 kB / 0.5937 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.2366, allocations: 15.44 kB / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2366, allocations: 0 / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.002953/0.2395, allocations: 0.6872 MB / 0.5944 GB, free: 11.57 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)