Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006144/0.006144, allocations: 95.23 kB / 15.73 MB, free: 6.047 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.001206/0.001206, allocations: 205.8 kB / 16.68 MB, free: 5.973 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.752/0.752, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 62.06 kB / 0.5813 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1829, allocations: 80.21 MB / 0.6596 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002368/0.1853, allocations: 1.469 MB / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006452/0.186, allocations: 442.9 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.186, allocations: 0 / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.1861, allocations: 7.922 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.489e-05/0.1862, allocations: 11.94 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.1863, allocations: 27.91 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.1864, allocations: 43.91 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1865, allocations: 11.98 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.152e-05/0.1866, allocations: 19.94 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.1866, allocations: 19.91 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1867, allocations: 4 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.1867, allocations: 8 kB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.1867, allocations: 23.86 kB / 0.6617 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.1868, allocations: 19.92 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1869, allocations: 47.77 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1869, allocations: 0 / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1869, allocations: 0 / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1869, allocations: 0 / 0.6617 GB, free: 11.4 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.0004805/0.1874, allocations: 359.3 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1874, allocations: 12.03 kB / 0.6621 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.1875, allocations: 8.875 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1876, allocations: 172.3 kB / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1876, allocations: 4.375 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1876, allocations: 8.375 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1877, allocations: 61.92 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1878, allocations: 0 / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1878, allocations: 0 / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1878, allocations: 4 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.263e-05/0.1878, allocations: 23.98 kB / 0.6624 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.1883, allocations: 308.7 kB / 0.6627 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.1884, allocations: 50.58 kB / 0.6627 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.1884, allocations: 24.94 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1885, allocations: 4 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.1886, allocations: 79.41 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1886, allocations: 0 / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002124/0.1888, allocations: 97.58 kB / 0.6629 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.1889, allocations: 59.39 kB / 0.663 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.1889, allocations: 97.86 kB / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.189, allocations: 33.7 kB / 0.6631 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.189, allocations: 88.08 kB / 0.6632 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.189, allocations: 24.17 kB / 0.6632 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1891, allocations: 29.7 kB / 0.6632 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.1892, allocations: 330.7 kB / 0.6635 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.412e-05/0.1892, allocations: 15.98 kB / 0.6635 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-05/0.1893, allocations: 47.36 kB / 0.6636 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.91e-05/0.1894, allocations: 67.55 kB / 0.6637 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1894, allocations: 0 / 0.6637 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001273/0.1895, allocations: 105.5 kB / 0.6638 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1895, allocations: 4 kB / 0.6638 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1895, allocations: 0 / 0.6638 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1896, allocations: 4 kB / 0.6638 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.1896, allocations: 11.98 kB / 0.6638 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1896, allocations: 0 / 0.6638 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.1897, allocations: 11.95 kB / 0.6638 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1897, allocations: 4 kB / 0.6638 GB, free: 9.047 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 8.67e-05/0.1898, allocations: 126.6 kB / 0.6639 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.1898, allocations: 7.984 kB / 0.6639 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.1899, allocations: 7.969 kB / 0.6639 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1899, allocations: 4 kB / 0.6639 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1899, allocations: 0 / 0.6639 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1899, allocations: 0 / 0.6639 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.1902, allocations: 358.4 kB / 0.6643 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1903, allocations: 0 / 0.6643 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.1903, allocations: 4 kB / 0.6643 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1903, allocations: 4 kB / 0.6643 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1903, allocations: 7.984 kB / 0.6643 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1903, allocations: 7.938 kB / 0.6643 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1903, allocations: 0 / 0.6643 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.1905, allocations: 175.4 kB / 0.6645 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.1905, allocations: 85.05 kB / 0.6645 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1905, allocations: 4 kB / 0.6645 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.1906, allocations: 11.94 kB / 0.6646 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.1907, allocations: 12.11 kB / 0.6646 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1907, allocations: 4 kB / 0.6646 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.1907, allocations: 91.3 kB / 0.6647 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1907, allocations: 0 / 0.6647 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000217/0.191, allocations: 16 kB / 0.6647 GB, free: 8.031 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.085e-05/0.1911, allocations: 95.33 kB / 0.6648 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1912, allocations: 55.91 kB / 0.6648 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1912, allocations: 8.062 kB / 0.6648 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.1913, allocations: 27.92 kB / 0.6649 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.1915, allocations: 11.98 kB / 0.6649 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.1919, allocations: 153.4 kB / 0.665 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1921, allocations: 0.6885 MB / 0.6657 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.1922, allocations: 11.98 kB / 0.6657 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.1922, allocations: 11.44 kB / 0.6657 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1922, allocations: 0 / 0.6657 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.002648/0.1949, allocations: 0.7809 MB / 0.6665 GB, free: 6.141 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)