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.001306/0.001306, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001712/0.001712, allocations: 215.9 kB / 22.25 MB, free: 4.855 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.793 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.8809/0.8809, allocations: 134 MB / 446.4 MB, free: 9.977 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",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.002196/0.002196, allocations: 69.42 kB / 0.6185 GB, free: 7.023 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1621, allocations: 85.92 MB / 0.7024 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003302/0.1654, allocations: 1.766 MB / 0.7041 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1666, allocations: 0.5532 MB / 0.7047 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1668, allocations: 7.938 kB / 0.7047 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.1669, allocations: 19.73 kB / 0.7047 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.457e-05/0.167, allocations: 31.72 kB / 0.7047 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.1672, allocations: 63.88 kB / 0.7048 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1675, allocations: 171.5 kB / 0.7049 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1676, allocations: 38.06 kB / 0.705 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1677, allocations: 59.78 kB / 0.705 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.592e-05/0.1678, allocations: 51.64 kB / 0.7051 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.1679, allocations: 12 kB / 0.7051 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.196e-05/0.1679, allocations: 8 kB / 0.7051 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.1679, allocations: 27.86 kB / 0.7051 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.168, allocations: 59.66 kB / 0.7052 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1682, allocations: 131.3 kB / 0.7053 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1682, allocations: 3.938 kB / 0.7053 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1682, allocations: 4 kB / 0.7053 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1682, allocations: 0 / 0.7053 GB, free: 14.18 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.0007912/0.169, allocations: 435.1 kB / 0.7057 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.169, allocations: 8.031 kB / 0.7057 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.1691, allocations: 46.75 kB / 0.7058 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.1692, allocations: 20.84 kB / 0.7058 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.1695, allocations: 178.1 kB / 0.706 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1695, allocations: 16.36 kB / 0.706 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.1696, allocations: 20.33 kB / 0.706 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1699, allocations: 150 kB / 0.7061 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1699, allocations: 0 / 0.7061 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1699, allocations: 0 / 0.7061 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1699, allocations: 4 kB / 0.7062 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.1702, allocations: 75.88 kB / 0.7062 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1712, allocations: 0.6878 MB / 0.7069 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1713, allocations: 50.48 kB / 0.7069 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1714, allocations: 28.84 kB / 0.707 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1715, allocations: 0 / 0.707 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.1717, allocations: 128.6 kB / 0.7071 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.1717, allocations: 0 / 0.7071 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005305/0.1722, allocations: 169.4 kB / 0.7073 GB, free: 12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.442e-05/0.1723, allocations: 132.5 kB / 0.7074 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1726, allocations: 195.2 kB / 0.7076 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1726, allocations: 33.64 kB / 0.7076 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1727, allocations: 139.7 kB / 0.7077 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.1727, allocations: 35.84 kB / 0.7078 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.1728, allocations: 41.7 kB / 0.7078 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.173, allocations: 335.1 kB / 0.7081 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1731, allocations: 39.97 kB / 0.7082 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1733, allocations: 139.3 kB / 0.7083 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.1737, allocations: 206.3 kB / 0.7085 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1737, allocations: 0 / 0.7085 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004191/0.1741, allocations: 205.2 kB / 0.7087 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1741, allocations: 8.5 kB / 0.7087 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1741, allocations: 4 kB / 0.7087 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1742, allocations: 8 kB / 0.7087 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1743, allocations: 35.91 kB / 0.7087 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1743, allocations: 8 kB / 0.7088 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.1744, allocations: 27.88 kB / 0.7088 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1745, allocations: 8 kB / 0.7088 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.0001333/0.1746, allocations: 137.7 kB / 0.7089 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1746, allocations: 27.8 kB / 0.7089 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.1747, allocations: 21.39 kB / 0.709 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1747, allocations: 4.234 kB / 0.709 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1747, allocations: 4 kB / 0.709 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1747, allocations: 3.984 kB / 0.709 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007923/0.1755, allocations: 481 kB / 0.7094 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1755, allocations: 4 kB / 0.7094 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1756, allocations: 19.92 kB / 0.7095 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1756, allocations: 0 / 0.7095 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.1757, allocations: 8 kB / 0.7095 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.1757, allocations: 11.92 kB / 0.7095 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1757, allocations: 0 / 0.7095 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.1762, allocations: 356.3 kB / 0.7098 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.1763, allocations: 19.84 kB / 0.7098 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1763, allocations: 4 kB / 0.7098 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1765, allocations: 19.95 kB / 0.7099 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.1765, allocations: 11.98 kB / 0.7099 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1765, allocations: 8 kB / 0.7099 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001312/0.1767, allocations: 148.2 kB / 0.71 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1767, allocations: 0 / 0.71 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003323/0.177, allocations: 31.95 kB / 0.71 GB, free: 8.887 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.0008621/0.1778, allocations: 0.8985 MB / 0.7109 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.1782, allocations: 111.8 kB / 0.711 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1782, allocations: 0 / 0.711 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1783, allocations: 47.91 kB / 0.7111 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.1789, allocations: 59.77 kB / 0.7111 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.1818, allocations: 2.282 MB / 0.7134 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.1819, allocations: 112 kB / 0.7135 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.553e-05/0.182, allocations: 26.02 kB / 0.7135 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.254e-05/0.1821, allocations: 51.42 kB / 0.7135 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.1821, allocations: 0 / 0.7135 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0346/0.2167, allocations: 4.771 MB / 0.7182 GB, free: 500 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.16, allocations: 8 kB / 0.7182 GB, free: 492 kB / 0.5294 GB " [Timeout remaining time 649] (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: 14.813882153015584] Failed to read output from testmodel.py, exit status != 0: 11.26448133168742 11.292482946 11.119331065 Calling exit ...