Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.87/0.87, allocations: 133.9 MB / 443.5 MB, free: 13.81 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.7 kB / 0.6141 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1708, allocations: 85.86 MB / 0.698 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003824/0.1746, allocations: 1.838 MB / 0.6997 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.1767, allocations: 0.5764 MB / 0.7003 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.177, allocations: 10.69 kB / 0.7003 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.1773, allocations: 25.11 kB / 0.7003 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.1776, allocations: 30.53 kB / 0.7004 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.1781, allocations: 65.36 kB / 0.7004 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.1786, allocations: 170.3 kB / 0.7006 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.1789, allocations: 33.94 kB / 0.7006 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1791, allocations: 61.72 kB / 0.7007 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1793, allocations: 52.2 kB / 0.7007 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.1793, allocations: 9.812 kB / 0.7008 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.402e-05/0.1793, allocations: 14.75 kB / 0.7008 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.1794, allocations: 28.78 kB / 0.7008 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.1795, allocations: 66.95 kB / 0.7009 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.1799, allocations: 141.4 kB / 0.701 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1799, allocations: 1.625 kB / 0.701 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.725e-06/0.1799, allocations: 0 / 0.701 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.1799, allocations: 0 / 0.701 GB, free: 11.32 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001226/0.1812, allocations: 476.7 kB / 0.7014 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1812, allocations: 11.11 kB / 0.7015 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.771e-05/0.1812, allocations: 6.938 kB / 0.7015 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.1813, allocations: 46.86 kB / 0.7015 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.1814, allocations: 18.47 kB / 0.7015 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.1818, allocations: 239.3 kB / 0.7018 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1818, allocations: 8.5 kB / 0.7018 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.1818, allocations: 16.58 kB / 0.7018 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.1821, allocations: 149.9 kB / 0.7019 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1822, allocations: 0 / 0.7019 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1822, allocations: 2.75 kB / 0.7019 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1822, allocations: 2.75 kB / 0.7019 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.1824, allocations: 76.94 kB / 0.702 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.1837, allocations: 0.7351 MB / 0.7027 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1839, allocations: 52.42 kB / 0.7028 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.1841, allocations: 27.97 kB / 0.7028 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.1841, allocations: 5.312 kB / 0.7028 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003423/0.1845, allocations: 128.7 kB / 0.7029 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.1845, allocations: 0 / 0.7029 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0006889/0.1851, allocations: 165.1 kB / 0.7031 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.1853, allocations: 130.5 kB / 0.7032 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.1857, allocations: 201.1 kB / 0.7034 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.1857, allocations: 36.11 kB / 0.7034 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1859, allocations: 137.9 kB / 0.7036 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.186, allocations: 35.88 kB / 0.7036 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1861, allocations: 49.66 kB / 0.7036 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1862, allocations: 334.8 kB / 0.704 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1864, allocations: 32.23 kB / 0.704 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.1866, allocations: 150.4 kB / 0.7041 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.1869, allocations: 202.4 kB / 0.7043 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1869, allocations: 4 kB / 0.7043 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004512/0.1874, allocations: 209.6 kB / 0.7045 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1874, allocations: 9.25 kB / 0.7045 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1874, allocations: 4 kB / 0.7045 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1874, allocations: 4 kB / 0.7045 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1876, allocations: 32.16 kB / 0.7046 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.1876, allocations: 7.984 kB / 0.7046 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.1878, allocations: 27.88 kB / 0.7046 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1878, allocations: 8 kB / 0.7046 GB, free: 7.672 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001635/0.1879, allocations: 153.6 kB / 0.7048 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.188, allocations: 15.91 kB / 0.7048 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.188, allocations: 21.39 kB / 0.7048 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1881, allocations: 4 kB / 0.7048 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1881, allocations: 0 / 0.7048 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1881, allocations: 0 / 0.7048 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/0.189, allocations: 0.5171 MB / 0.7053 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.189, allocations: 0 / 0.7053 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1891, allocations: 15.98 kB / 0.7053 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1891, allocations: 0 / 0.7053 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.1891, allocations: 4 kB / 0.7053 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1891, allocations: 3.938 kB / 0.7053 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.1891, allocations: 4 kB / 0.7053 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.1897, allocations: 368 kB / 0.7057 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.1898, allocations: 93.05 kB / 0.7058 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.1898, allocations: 4 kB / 0.7058 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.19, allocations: 19.92 kB / 0.7058 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.19, allocations: 11.98 kB / 0.7058 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.19, allocations: 11.94 kB / 0.7058 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001311/0.1902, allocations: 143.1 kB / 0.706 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1902, allocations: 0 / 0.706 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003372/0.1905, allocations: 28 kB / 0.706 GB, free: 6.168 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009657/0.1915, allocations: 0.9083 MB / 0.7069 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003745/0.1918, allocations: 116.1 kB / 0.707 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1919, allocations: 0 / 0.707 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.192, allocations: 47.91 kB / 0.707 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.1926, allocations: 61.33 kB / 0.7071 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.1956, allocations: 2.277 MB / 0.7093 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.196, allocations: 0.728 MB / 0.71 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.292e-05/0.196, allocations: 17.53 kB / 0.71 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.1961, allocations: 55.41 kB / 0.7101 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.1961, allocations: 0 / 0.7101 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.2189, allocations: 4.07 MB / 0.7141 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.552, allocations: 7.922 kB / 0.7141 GB, free: 13.79 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset.fmu > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.359882307995576] Failed to read output from testmodel.py, exit status != 0: 8.98871122096898 8.704486356 8.519709884 Calling exit ...