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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001247/0.001247, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7325/0.7325, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.92 kB / 0.5012 GB, free: 9.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1828, allocations: 80.2 MB / 0.5795 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.00276/0.1856, allocations: 1.535 MB / 0.581 GB, free: 7.605 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006872/0.1863, allocations: 434.9 kB / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.1864, allocations: 0 / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.1864, allocations: 0 / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.114e-05/0.1865, allocations: 7.922 kB / 0.5814 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.1867, allocations: 23.98 kB / 0.5814 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.854e-05/0.1868, allocations: 51.78 kB / 0.5815 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1869, allocations: 12 kB / 0.5815 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.923e-05/0.1869, allocations: 19.92 kB / 0.5815 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.187, allocations: 19.92 kB / 0.5815 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.187, allocations: 3.984 kB / 0.5815 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.187, allocations: 4 kB / 0.5815 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.1871, allocations: 11.98 kB / 0.5815 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.1871, allocations: 23.86 kB / 0.5816 GB, free: 7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.615e-05/0.1872, allocations: 36.17 kB / 0.5816 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1872, allocations: 0 / 0.5816 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1872, allocations: 0 / 0.5816 GB, free: 6.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1872, allocations: 0 / 0.5816 GB, free: 6.965 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.000556/0.1878, allocations: 367.3 kB / 0.582 GB, free: 6.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1878, allocations: 8.031 kB / 0.582 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.1879, allocations: 34.75 kB / 0.582 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.1879, allocations: 4.938 kB / 0.582 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1881, allocations: 176.2 kB / 0.5822 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1881, allocations: 8.375 kB / 0.5822 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1881, allocations: 4.375 kB / 0.5822 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1882, allocations: 65.73 kB / 0.5822 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1882, allocations: 0 / 0.5822 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1883, allocations: 0 / 0.5822 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1883, allocations: 7.922 kB / 0.5823 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/0.1883, allocations: 31.92 kB / 0.5823 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.1888, allocations: 300.7 kB / 0.5826 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.189, allocations: 62.59 kB / 0.5826 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.189, allocations: 28.94 kB / 0.5827 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.189, allocations: 0 / 0.5827 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1892, allocations: 71.39 kB / 0.5827 GB, free: 5.645 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1892, allocations: 0 / 0.5827 GB, free: 5.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002302/0.1895, allocations: 101.5 kB / 0.5828 GB, free: 5.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1895, allocations: 55.41 kB / 0.5829 GB, free: 5.473 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.1896, allocations: 101.8 kB / 0.583 GB, free: 5.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1896, allocations: 33.7 kB / 0.583 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.1897, allocations: 88.03 kB / 0.5831 GB, free: 5.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.1897, allocations: 23.69 kB / 0.5831 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.1898, allocations: 29.7 kB / 0.5831 GB, free: 5.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1899, allocations: 326.8 kB / 0.5834 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.492e-05/0.1899, allocations: 15.98 kB / 0.5835 GB, free: 4.832 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.19, allocations: 43.42 kB / 0.5835 GB, free: 4.777 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.1901, allocations: 63.38 kB / 0.5836 GB, free: 4.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1901, allocations: 0 / 0.5836 GB, free: 4.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001359/0.1902, allocations: 101.5 kB / 0.5837 GB, free: 4.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1903, allocations: 4 kB / 0.5837 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1903, allocations: 0 / 0.5837 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1903, allocations: 4.375 kB / 0.5837 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.1904, allocations: 11.94 kB / 0.5837 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1904, allocations: 3.984 kB / 0.5837 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.1905, allocations: 8 kB / 0.5837 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1905, allocations: 11.88 kB / 0.5837 GB, free: 4.555 MB / 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.733e-05/0.1906, allocations: 118.5 kB / 0.5838 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.1906, allocations: 12.12 kB / 0.5838 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.1906, allocations: 11.95 kB / 0.5838 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1906, allocations: 3.984 kB / 0.5838 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1907, allocations: 0 / 0.5838 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1907, allocations: 4 kB / 0.5838 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.1911, allocations: 354.4 kB / 0.5842 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1911, allocations: 0 / 0.5842 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.1911, allocations: 12 kB / 0.5842 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1911, allocations: 4 kB / 0.5842 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.1911, allocations: 4 kB / 0.5842 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1911, allocations: 7.922 kB / 0.5842 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1911, allocations: 0 / 0.5842 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.1913, allocations: 183.4 kB / 0.5844 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.1914, allocations: 81.05 kB / 0.5845 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1914, allocations: 3.984 kB / 0.5845 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.1915, allocations: 11.94 kB / 0.5845 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.1915, allocations: 7.984 kB / 0.5845 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.1915, allocations: 8 kB / 0.5845 GB, free: 3.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.1916, allocations: 83.27 kB / 0.5846 GB, free: 3.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1916, allocations: 0 / 0.5846 GB, free: 3.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1918, allocations: 19.91 kB / 0.5846 GB, free: 3.543 MB / 494.1 MB 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.0004254/0.1923, allocations: 0.7157 MB / 0.5853 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.1924, allocations: 55.92 kB / 0.5853 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1924, allocations: 0 / 0.5853 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.1925, allocations: 27.92 kB / 0.5854 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1928, allocations: 13.5 kB / 0.5854 GB, free: 2.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1941, allocations: 1.381 MB / 0.5867 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.1944, allocations: 0.6857 MB / 0.5874 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.85e-05/0.1944, allocations: 8 kB / 0.5874 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.1945, allocations: 15.44 kB / 0.5874 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.1945, allocations: 0 / 0.5874 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.2055, allocations: 1.53 MB / 0.5889 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.2057, allocations: 180.3 kB / 0.5891 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.879, allocations: 3.719 kB / 0.5891 GB, free: 14.8 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)