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.001431/0.001431, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001478/0.001478, allocations: 190.8 kB / 16.14 MB, free: 6.719 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.579/1.579, allocations: 222.9 MB / 239.8 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.035/1.035, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 68.52 kB / 0.5047 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2105, allocations: 80.92 MB / 0.5837 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003809/0.2144, allocations: 1.512 MB / 0.5852 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.2154, allocations: 439 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.2155, allocations: 4 kB / 0.5856 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.145e-05/0.2156, allocations: 3.984 kB / 0.5856 GB, free: 3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.2157, allocations: 7.938 kB / 0.5856 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.2159, allocations: 15.97 kB / 0.5856 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.216, allocations: 47.86 kB / 0.5857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.2162, allocations: 15.98 kB / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.501e-05/0.2163, allocations: 19.92 kB / 0.5857 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.2164, allocations: 23.92 kB / 0.5857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2164, allocations: 0 / 0.5857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.8e-05/0.2164, allocations: 4 kB / 0.5857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.2165, allocations: 19.91 kB / 0.5857 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.2165, allocations: 19.92 kB / 0.5858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.2167, allocations: 39.88 kB / 0.5858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2167, allocations: 3.938 kB / 0.5858 GB, free: 2.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2167, allocations: 0 / 0.5858 GB, free: 2.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.2167, allocations: 3.938 kB / 0.5858 GB, free: 2.781 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.0007169/0.2174, allocations: 363.7 kB / 0.5862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.2175, allocations: 8.031 kB / 0.5862 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.2176, allocations: 8.844 kB / 0.5862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.2178, allocations: 168.3 kB / 0.5863 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2178, allocations: 4.375 kB / 0.5863 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.2178, allocations: 8.375 kB / 0.5863 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.218, allocations: 57.98 kB / 0.5864 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.218, allocations: 4 kB / 0.5864 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.218, allocations: 4 kB / 0.5864 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.218, allocations: 0 / 0.5864 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.2181, allocations: 31.92 kB / 0.5864 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.2188, allocations: 304.7 kB / 0.5867 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2189, allocations: 50.66 kB / 0.5868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.219, allocations: 32.89 kB / 0.5868 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.219, allocations: 3.984 kB / 0.5868 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.2192, allocations: 71.39 kB / 0.5869 GB, free: 1.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/0.2192, allocations: 0 / 0.5869 GB, free: 1.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002921/0.2195, allocations: 101.5 kB / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.2196, allocations: 51.41 kB / 0.587 GB, free: 1.352 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2197, allocations: 105.8 kB / 0.5871 GB, free: 1.238 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.2198, allocations: 33.7 kB / 0.5872 GB, free: 1.199 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.2198, allocations: 88.42 kB / 0.5872 GB, free: 1.109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.2199, allocations: 15.75 kB / 0.5873 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.2199, allocations: 33.7 kB / 0.5873 GB, free: 1.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2201, allocations: 322.8 kB / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.892e-05/0.2201, allocations: 19.88 kB / 0.5876 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.2202, allocations: 53.55 kB / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.715e-05/0.2203, allocations: 71.36 kB / 0.5877 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2203, allocations: 0 / 0.5877 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001674/0.2205, allocations: 93.8 kB / 0.5878 GB, free: 480 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2205, allocations: 4 kB / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2205, allocations: 7.984 kB / 0.5878 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2206, allocations: 0 / 0.5878 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.2206, allocations: 8 kB / 0.5878 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2207, allocations: 3.969 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.2207, allocations: 19.98 kB / 0.5879 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2208, allocations: 0 / 0.5879 GB, free: 436 kB / 494.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 0.0001051/0.2209, allocations: 122.4 kB / 0.588 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.2209, allocations: 3.906 kB / 0.588 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.2209, allocations: 7.969 kB / 0.588 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2209, allocations: 4 kB / 0.588 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2209, allocations: 0 / 0.588 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.221, allocations: 0 / 0.588 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.2214, allocations: 366.5 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2214, allocations: 0 / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.2215, allocations: 7.938 kB / 0.5884 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2215, allocations: 0 / 0.5884 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2215, allocations: 8 kB / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2215, allocations: 3.938 kB / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2215, allocations: 0 / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.2217, allocations: 183.4 kB / 0.5885 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.2217, allocations: 85.05 kB / 0.5886 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.2218, allocations: 4 kB / 0.5886 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.2218, allocations: 12.11 kB / 0.5886 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.2219, allocations: 7.984 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2219, allocations: 3.938 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.222, allocations: 83.28 kB / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.222, allocations: 0 / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000233/0.2222, allocations: 20 kB / 0.5888 GB, free: 15.41 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.0001119/0.2223, allocations: 95.25 kB / 0.5888 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.2225, allocations: 55.91 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2225, allocations: 3.938 kB / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-05/0.2226, allocations: 23.94 kB / 0.5889 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.2228, allocations: 18.17 kB / 0.5889 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.2233, allocations: 179.3 kB / 0.5891 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2236, allocations: 0.6848 MB / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.2237, allocations: 4 kB / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.2237, allocations: 11.44 kB / 0.5898 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.2237, allocations: 0 / 0.5898 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.0035/0.2272, allocations: 0.6992 MB / 0.5905 GB, free: 13.61 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)