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.001714/0.001714, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002423/0.002423, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.8433/0.8433, allocations: 134 MB / 447.2 MB, free: 10.22 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.001883/0.001883, allocations: 60.78 kB / 0.6193 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1658, allocations: 85.91 MB / 0.7032 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003205/0.169, allocations: 1.843 MB / 0.705 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1702, allocations: 0.5883 MB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1703, allocations: 7.938 kB / 0.7056 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.1704, allocations: 23.73 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/0.1705, allocations: 19.75 kB / 0.7056 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1707, allocations: 79.78 kB / 0.7057 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.171, allocations: 171.5 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1711, allocations: 42 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.1712, allocations: 59.72 kB / 0.706 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.1713, allocations: 59.7 kB / 0.706 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1714, allocations: 8 kB / 0.706 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.25e-05/0.1714, allocations: 12 kB / 0.7061 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1714, allocations: 27.86 kB / 0.7061 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.223e-05/0.1715, allocations: 63.61 kB / 0.7061 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1717, allocations: 131.3 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1717, allocations: 4 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1717, allocations: 0 / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1717, allocations: 0 / 0.7063 GB, free: 14.21 MB / 0.5294 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.0007853/0.1725, allocations: 435 kB / 0.7067 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1726, allocations: 12.03 kB / 0.7067 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.241e-05/0.1726, allocations: 8.172 kB / 0.7067 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.201e-05/0.1726, allocations: 46.73 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.1727, allocations: 16.84 kB / 0.7068 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.173, allocations: 178.2 kB / 0.7069 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.173, allocations: 12.38 kB / 0.7069 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.1731, allocations: 16.33 kB / 0.707 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.1734, allocations: 157.8 kB / 0.7071 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1734, allocations: 4 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1734, allocations: 7.938 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1734, allocations: 4 kB / 0.7071 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.1737, allocations: 70.45 kB / 0.7072 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000934/0.1746, allocations: 0.7073 MB / 0.7079 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.1748, allocations: 46.55 kB / 0.7079 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.1749, allocations: 40.77 kB / 0.708 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1749, allocations: 3.938 kB / 0.708 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.1752, allocations: 118.8 kB / 0.7081 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.1752, allocations: 4 kB / 0.7081 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005211/0.1757, allocations: 165.4 kB / 0.7082 GB, free: 12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.1758, allocations: 128.5 kB / 0.7084 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.176, allocations: 195.2 kB / 0.7086 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.176, allocations: 33.7 kB / 0.7086 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1762, allocations: 132 kB / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.1762, allocations: 35.94 kB / 0.7087 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.1763, allocations: 45.66 kB / 0.7088 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.1765, allocations: 326.8 kB / 0.7091 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1766, allocations: 39.91 kB / 0.7091 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.1769, allocations: 156.7 kB / 0.7093 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.1774, allocations: 198.3 kB / 0.7095 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1774, allocations: 0 / 0.7095 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000681/0.1781, allocations: 205.2 kB / 0.7097 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.1781, allocations: 8.5 kB / 0.7097 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.1781, allocations: 8 kB / 0.7097 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.1782, allocations: 4 kB / 0.7097 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.1784, allocations: 31.92 kB / 0.7097 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.1784, allocations: 11.92 kB / 0.7097 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1786, allocations: 27.88 kB / 0.7098 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1787, allocations: 8 kB / 0.7098 GB, free: 10.26 MB / 0.5294 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.0002065/0.1789, allocations: 144.7 kB / 0.7099 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.1789, allocations: 19.86 kB / 0.7099 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.179, allocations: 25.39 kB / 0.71 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.179, allocations: 4 kB / 0.71 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.179, allocations: 0 / 0.71 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.179, allocations: 4 kB / 0.71 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.1802, allocations: 492.9 kB / 0.7104 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1802, allocations: 4.312 kB / 0.7104 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.1804, allocations: 15.98 kB / 0.7104 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.1804, allocations: 11.94 kB / 0.7105 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.1804, allocations: 4 kB / 0.7105 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.1804, allocations: 7.938 kB / 0.7105 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1804, allocations: 0 / 0.7105 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007589/0.1812, allocations: 370.4 kB / 0.7108 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.1812, allocations: 19.84 kB / 0.7108 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.1813, allocations: 8.031 kB / 0.7108 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.1815, allocations: 15.92 kB / 0.7109 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.1816, allocations: 11.98 kB / 0.7109 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1816, allocations: 8 kB / 0.7109 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001855/0.1818, allocations: 148.2 kB / 0.711 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1818, allocations: 4 kB / 0.711 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005607/0.1823, allocations: 27.95 kB / 0.7111 GB, free: 8.867 MB / 0.5294 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.001154/0.1835, allocations: 0.8928 MB / 0.7119 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.184, allocations: 112.3 kB / 0.712 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.184, allocations: 0 / 0.712 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.1842, allocations: 47.91 kB / 0.7121 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009177/0.1851, allocations: 65.02 kB / 0.7121 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.1891, allocations: 2.268 MB / 0.7144 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.1897, allocations: 0.7202 MB / 0.7151 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.1898, allocations: 34 kB / 0.7151 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.19, allocations: 47.42 kB / 0.7151 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.19, allocations: 3.938 kB / 0.7151 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.2294, allocations: 4.257 MB / 0.7193 GB, free: 356 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.4, allocations: 15.47 kB / 0.7193 GB, free: 348 kB / 0.5294 GB " [Timeout remaining time 648] (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: 15.169720357982442] Failed to read output from testmodel.py, exit status != 0: 11.581102737924084 11.610931869 11.434051132 Calling exit ...