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.001355/0.001355, allocations: 109 kB / 16.41 MB, free: 6.465 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.001313/0.001313, allocations: 189.7 kB / 17.34 MB, free: 5.711 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.509/1.509, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8757/0.8757, allocations: 135.2 MB / 426.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 62.84 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1838, allocations: 80.93 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002828/0.1866, allocations: 1.458 MB / 0.6668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.1875, allocations: 438.9 kB / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.1875, allocations: 0 / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.1875, allocations: 7.922 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.1876, allocations: 7.938 kB / 0.6672 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.1878, allocations: 31.91 kB / 0.6672 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.158e-05/0.1879, allocations: 47.84 kB / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.188, allocations: 15.98 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.188, allocations: 15.94 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.1881, allocations: 23.91 kB / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.1881, allocations: 4 kB / 0.6673 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.1881, allocations: 4 kB / 0.6673 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.1882, allocations: 19.91 kB / 0.6673 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.1882, allocations: 15.94 kB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.1883, allocations: 55.69 kB / 0.6674 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1883, allocations: 0 / 0.6674 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1883, allocations: 4 kB / 0.6674 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.1883, allocations: 0 / 0.6674 GB, free: 3.605 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.0007043/0.189, allocations: 359.3 kB / 0.6678 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1891, allocations: 13.11 kB / 0.6678 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.1891, allocations: 8.891 kB / 0.6678 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1893, allocations: 164.3 kB / 0.6679 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1893, allocations: 8.375 kB / 0.6679 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.1893, allocations: 8.359 kB / 0.6679 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1895, allocations: 61.98 kB / 0.668 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1895, allocations: 3.938 kB / 0.668 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1895, allocations: 0 / 0.668 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1895, allocations: 4 kB / 0.668 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.363e-05/0.1896, allocations: 23.98 kB / 0.668 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.1902, allocations: 300.7 kB / 0.6683 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1903, allocations: 62.62 kB / 0.6684 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.1903, allocations: 16.92 kB / 0.6684 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1904, allocations: 0 / 0.6684 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.1905, allocations: 75.38 kB / 0.6685 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1905, allocations: 0 / 0.6685 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002439/0.1908, allocations: 105.6 kB / 0.6686 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.1908, allocations: 63.72 kB / 0.6686 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.1909, allocations: 105.8 kB / 0.6687 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.191, allocations: 29.7 kB / 0.6688 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.191, allocations: 84.09 kB / 0.6688 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.191, allocations: 23.78 kB / 0.6689 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.1911, allocations: 33.64 kB / 0.6689 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1912, allocations: 318.8 kB / 0.6692 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.1913, allocations: 19.98 kB / 0.6692 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.1913, allocations: 51.42 kB / 0.6693 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.159e-05/0.1914, allocations: 59.38 kB / 0.6693 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1914, allocations: 4 kB / 0.6693 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000165/0.1916, allocations: 93.56 kB / 0.6694 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1916, allocations: 4 kB / 0.6694 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1916, allocations: 0 / 0.6694 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1916, allocations: 8.031 kB / 0.6694 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.1917, allocations: 15.92 kB / 0.6694 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1917, allocations: 0 / 0.6694 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.1918, allocations: 4.281 kB / 0.6695 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1918, allocations: 8 kB / 0.6695 GB, free: 1.262 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 0.0001059/0.1919, allocations: 125.8 kB / 0.6696 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1919, allocations: 7.953 kB / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.1919, allocations: 7.969 kB / 0.6696 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.1919, allocations: 8 kB / 0.6696 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.192, allocations: 0 / 0.6696 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.192, allocations: 0 / 0.6696 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.1924, allocations: 362.3 kB / 0.6699 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1924, allocations: 0 / 0.6699 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.1924, allocations: 7.984 kB / 0.67 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1924, allocations: 0 / 0.67 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1924, allocations: 0 / 0.67 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1924, allocations: 7.938 kB / 0.67 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1924, allocations: 8.062 kB / 0.67 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.1926, allocations: 183.5 kB / 0.6701 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.1927, allocations: 81.16 kB / 0.6702 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1927, allocations: 11.88 kB / 0.6702 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.1928, allocations: 11.92 kB / 0.6702 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.1928, allocations: 4 kB / 0.6702 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1928, allocations: 4 kB / 0.6703 GB, free: 356 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.1929, allocations: 91.27 kB / 0.6703 GB, free: 264 kB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1929, allocations: 0 / 0.6703 GB, free: 264 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002253/0.1931, allocations: 12 kB / 0.6704 GB, free: 252 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.000162/0.1933, allocations: 101.4 kB / 0.6704 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1934, allocations: 55.84 kB / 0.6705 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1934, allocations: 0 / 0.6705 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.1935, allocations: 20 kB / 0.6705 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.1938, allocations: 12.05 kB / 0.6705 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.1942, allocations: 187 kB / 0.6707 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1946, allocations: 0.6885 MB / 0.6714 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.1946, allocations: 15.42 kB / 0.6714 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1946, allocations: 0 / 0.6714 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.002609/0.1972, allocations: 0.8714 MB / 0.6722 GB, free: 14.23 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)