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.001313/0.001313, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001599/0.001599, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.526/1.526, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.78 kB / 0.5049 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2291, allocations: 80.92 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002829/0.232, allocations: 1.512 MB / 0.5854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006986/0.2327, allocations: 439 kB / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.2328, allocations: 0 / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.2328, allocations: 0 / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.233, allocations: 11.91 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.2331, allocations: 12 kB / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.252e-05/0.2332, allocations: 59.78 kB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2334, allocations: 23.97 kB / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.396e-05/0.2334, allocations: 19.92 kB / 0.5859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.2335, allocations: 19.91 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2335, allocations: 4 kB / 0.5859 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.2335, allocations: 4 kB / 0.5859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.2335, allocations: 12 kB / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.2336, allocations: 27.86 kB / 0.586 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.2337, allocations: 35.88 kB / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2337, allocations: 4 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2337, allocations: 3.938 kB / 0.586 GB, free: 2.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.2337, allocations: 0 / 0.586 GB, free: 2.676 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.0005718/0.2343, allocations: 359.7 kB / 0.5863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2344, allocations: 8.031 kB / 0.5864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.2344, allocations: 16.77 kB / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.2346, allocations: 168.3 kB / 0.5865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.2346, allocations: 4.375 kB / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.2346, allocations: 12.31 kB / 0.5865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2348, allocations: 61.98 kB / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2348, allocations: 0 / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2348, allocations: 0 / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2348, allocations: 0 / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.875e-05/0.2349, allocations: 31.92 kB / 0.5866 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.2354, allocations: 300.7 kB / 0.5869 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2355, allocations: 54.61 kB / 0.587 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.2355, allocations: 28.94 kB / 0.587 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.2356, allocations: 0 / 0.587 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.2357, allocations: 71.38 kB / 0.5871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2357, allocations: 0 / 0.5871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002317/0.236, allocations: 101.5 kB / 0.5872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.236, allocations: 59.39 kB / 0.5872 GB, free: 1.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.2361, allocations: 101.8 kB / 0.5873 GB, free: 1.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.2362, allocations: 34.08 kB / 0.5873 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.2362, allocations: 88.03 kB / 0.5874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.2363, allocations: 23.73 kB / 0.5875 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.2363, allocations: 29.7 kB / 0.5875 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2364, allocations: 322.7 kB / 0.5878 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.2365, allocations: 23.98 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.2365, allocations: 43.42 kB / 0.5879 GB, free: 0.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.2366, allocations: 67.55 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2366, allocations: 4 kB / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001299/0.2368, allocations: 93.52 kB / 0.588 GB, free: 372 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2368, allocations: 12.03 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2368, allocations: 0 / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2368, allocations: 0 / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.2369, allocations: 15.92 kB / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2369, allocations: 7.938 kB / 0.588 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.237, allocations: 8 kB / 0.5881 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.237, allocations: 4 kB / 0.5881 GB, free: 324 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 9.688e-05/0.2371, allocations: 117.8 kB / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.2371, allocations: 15.89 kB / 0.5882 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.2372, allocations: 7.969 kB / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2372, allocations: 0 / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2372, allocations: 0 / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2372, allocations: 0 / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.2376, allocations: 358.4 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2376, allocations: 0 / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.2377, allocations: 4 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2377, allocations: 0 / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2377, allocations: 11.98 kB / 0.5886 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2377, allocations: 3.938 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2377, allocations: 0 / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.2379, allocations: 179.4 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.2379, allocations: 89.03 kB / 0.5888 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.2379, allocations: 192 / 0.5888 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.238, allocations: 7.938 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.2381, allocations: 19.92 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.2381, allocations: 4 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.2381, allocations: 83.27 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2381, allocations: 0 / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002232/0.2384, allocations: 12 kB / 0.5889 GB, free: 15.31 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 9.516e-05/0.2385, allocations: 95.25 kB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.2386, allocations: 59.86 kB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2386, allocations: 4 kB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.308e-05/0.2387, allocations: 32.05 kB / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.239, allocations: 8.406 kB / 0.5891 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.2394, allocations: 181.3 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.2397, allocations: 0.6885 MB / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.2397, allocations: 7.984 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.2397, allocations: 11.44 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.2397, allocations: 0 / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.002973/0.2427, allocations: 0.728 MB / 0.5907 GB, free: 13.46 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)