Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.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.001949/0.001949, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002138/0.002138, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.439/1.439, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.8333/0.8333, allocations: 134 MB / 442.8 MB, free: 11.26 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.IntegerReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator",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.001983/0.001983, allocations: 75.91 kB / 0.6134 GB, free: 8.758 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1641, allocations: 85.85 MB / 0.6973 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00356/0.1677, allocations: 1.8 MB / 0.699 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1703, allocations: 1.263 MB / 0.7003 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1704, allocations: 3.938 kB / 0.7003 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.1708, allocations: 63.67 kB / 0.7003 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.1712, allocations: 115.5 kB / 0.7004 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.1719, allocations: 196.2 kB / 0.7006 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.1721, allocations: 159.6 kB / 0.7008 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1722, allocations: 13.45 kB / 0.7008 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1724, allocations: 75.62 kB / 0.7009 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1725, allocations: 67.73 kB / 0.7009 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1725, allocations: 8 kB / 0.7009 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.1727, allocations: 75.94 kB / 0.701 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/0.1728, allocations: 43.78 kB / 0.701 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.175e-05/0.1729, allocations: 59.61 kB / 0.7011 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.1732, allocations: 211.5 kB / 0.7013 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1732, allocations: 0 / 0.7013 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.224e-06/0.1732, allocations: 0 / 0.7013 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1732, allocations: 0 / 0.7013 GB, free: 14.83 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008254/0.174, allocations: 0.4922 MB / 0.7018 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.1741, allocations: 13.05 kB / 0.7018 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.1741, allocations: 42.69 kB / 0.7018 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.1742, allocations: 24.78 kB / 0.7019 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.1746, allocations: 260 kB / 0.7021 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1747, allocations: 4.375 kB / 0.7021 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1747, allocations: 7.938 kB / 0.7021 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.1749, allocations: 100.1 kB / 0.7022 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1749, allocations: 0 / 0.7022 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1749, allocations: 4 kB / 0.7022 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.175, allocations: 0 / 0.7022 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1751, allocations: 35.98 kB / 0.7023 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.1756, allocations: 356.7 kB / 0.7026 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1758, allocations: 82.66 kB / 0.7027 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.1759, allocations: 28.84 kB / 0.7027 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1759, allocations: 3.984 kB / 0.7027 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.1761, allocations: 91.38 kB / 0.7028 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.1761, allocations: 0 / 0.7028 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.000399/0.1765, allocations: 145.5 kB / 0.7029 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.1766, allocations: 102.8 kB / 0.703 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.1769, allocations: 272.2 kB / 0.7033 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.177, allocations: 25.7 kB / 0.7033 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.1771, allocations: 120.1 kB / 0.7034 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1771, allocations: 27.8 kB / 0.7035 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.1771, allocations: 37.69 kB / 0.7035 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1773, allocations: 322.8 kB / 0.7038 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.1774, allocations: 23.98 kB / 0.7038 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1775, allocations: 76.2 kB / 0.7039 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1777, allocations: 69.7 kB / 0.704 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1777, allocations: 0 / 0.704 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002422/0.1779, allocations: 109.5 kB / 0.7041 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1779, allocations: 11.94 kB / 0.7041 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1779, allocations: 0 / 0.7041 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1779, allocations: 0 / 0.7041 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.178, allocations: 15.98 kB / 0.7041 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1781, allocations: 0 / 0.7041 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.1781, allocations: 15.89 kB / 0.7041 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1781, allocations: 16.2 kB / 0.7041 GB, free: 11.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001417/0.1783, allocations: 137.8 kB / 0.7043 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.1783, allocations: 23.84 kB / 0.7043 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.1784, allocations: 17.41 kB / 0.7043 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.1784, allocations: 7.984 kB / 0.7043 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1784, allocations: 0 / 0.7043 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1784, allocations: 3.938 kB / 0.7043 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.1786, allocations: 225.5 kB / 0.7045 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1786, allocations: 4 kB / 0.7045 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.1787, allocations: 8 kB / 0.7045 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1787, allocations: 0 / 0.7045 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1787, allocations: 3.984 kB / 0.7045 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1787, allocations: 0 / 0.7045 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1787, allocations: 0 / 0.7045 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.179, allocations: 148.8 kB / 0.7047 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.1791, allocations: 97.02 kB / 0.7048 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1791, allocations: 4 kB / 0.7048 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.659e-05/0.1792, allocations: 4 kB / 0.7048 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.1792, allocations: 15.92 kB / 0.7048 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1792, allocations: 0 / 0.7048 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002106/0.1794, allocations: 207.5 kB / 0.705 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1794, allocations: 0 / 0.705 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000265/0.1797, allocations: 39.91 kB / 0.705 GB, free: 10.63 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002143/0.1818, allocations: 0.993 MB / 0.706 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.1821, allocations: 75.88 kB / 0.7061 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.1821, allocations: 4 kB / 0.7061 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1822, allocations: 31.92 kB / 0.7061 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.1825, allocations: 47.45 kB / 0.7061 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.185, allocations: 1.983 MB / 0.7081 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.1854, allocations: 0.7241 MB / 0.7088 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.923e-05/0.1855, allocations: 29.36 kB / 0.7088 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.1857, allocations: 51.42 kB / 0.7089 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of SimCode: time 6.62e-07/0.1857, allocations: 0 / 0.7089 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.2133, allocations: 4.8 MB / 0.7136 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.221, allocations: 11.25 kB / 0.7136 GB, free: 2.016 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.888277446007123] Failed to read output from testmodel.py, exit status != 0: 8.344958697009133 8.361302814 8.185132758 Calling exit ...