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.001404/0.001404, allocations: 116.8 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.001632/0.001632, allocations: 212 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8512/0.8512, allocations: 133.9 MB / 443.5 MB, free: 14.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator",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.001989/0.001989, allocations: 64.61 kB / 0.6141 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1613, allocations: 85.85 MB / 0.698 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.004277/0.1656, allocations: 1.807 MB / 0.6997 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.1685, allocations: 1.255 MB / 0.7009 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1687, allocations: 1.188 kB / 0.7009 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.1691, allocations: 62.67 kB / 0.701 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.1695, allocations: 123.9 kB / 0.7011 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.1702, allocations: 195.1 kB / 0.7013 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.1705, allocations: 156.9 kB / 0.7015 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1706, allocations: 16.19 kB / 0.7015 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1707, allocations: 70.33 kB / 0.7015 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1709, allocations: 74.11 kB / 0.7016 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1709, allocations: 7.125 kB / 0.7016 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.1711, allocations: 73.03 kB / 0.7017 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1712, allocations: 42.97 kB / 0.7017 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.1713, allocations: 59.98 kB / 0.7018 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.1717, allocations: 212.8 kB / 0.702 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1717, allocations: 0 / 0.702 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1717, allocations: 1.375 kB / 0.702 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1717, allocations: 0 / 0.702 GB, free: 10.48 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008343/0.1725, allocations: 0.5 MB / 0.7025 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.1726, allocations: 15.3 kB / 0.7025 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.589e-05/0.1726, allocations: 1.562 kB / 0.7025 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.1727, allocations: 32.12 kB / 0.7025 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.1727, allocations: 21.05 kB / 0.7025 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.1731, allocations: 263.5 kB / 0.7028 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1731, allocations: 10.88 kB / 0.7028 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1732, allocations: 2.75 kB / 0.7028 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.1734, allocations: 96.92 kB / 0.7029 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1734, allocations: 3.984 kB / 0.7029 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1734, allocations: 5.375 kB / 0.7029 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1735, allocations: 1.375 kB / 0.7029 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.1736, allocations: 37.78 kB / 0.7029 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.1741, allocations: 349.7 kB / 0.7033 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.1744, allocations: 85.92 kB / 0.7034 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.1745, allocations: 31.19 kB / 0.7034 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1745, allocations: 0 / 0.7034 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.1747, allocations: 84.36 kB / 0.7035 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.1747, allocations: 0 / 0.7035 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004077/0.1751, allocations: 149.6 kB / 0.7036 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.1752, allocations: 102.8 kB / 0.7037 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.1755, allocations: 280.2 kB / 0.704 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.1755, allocations: 29.7 kB / 0.704 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.1756, allocations: 120.1 kB / 0.7041 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.1757, allocations: 23.8 kB / 0.7041 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.1757, allocations: 29.69 kB / 0.7042 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1759, allocations: 334.8 kB / 0.7045 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.176, allocations: 27.98 kB / 0.7045 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1761, allocations: 68.28 kB / 0.7046 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1762, allocations: 69.94 kB / 0.7047 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1762, allocations: 0 / 0.7047 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002365/0.1765, allocations: 117.5 kB / 0.7048 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1765, allocations: 12.03 kB / 0.7048 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1765, allocations: 0 / 0.7048 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1765, allocations: 0 / 0.7048 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.1766, allocations: 15.98 kB / 0.7048 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1766, allocations: 3.938 kB / 0.7048 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.1767, allocations: 11.95 kB / 0.7048 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1767, allocations: 0 / 0.7048 GB, free: 7.613 MB / 0.5137 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.00015/0.1769, allocations: 143.8 kB / 0.7049 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.1769, allocations: 19.91 kB / 0.705 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.1769, allocations: 25.33 kB / 0.705 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.177, allocations: 0 / 0.705 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.177, allocations: 7.938 kB / 0.705 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.177, allocations: 0 / 0.705 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.1772, allocations: 229.5 kB / 0.7052 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1772, allocations: 0 / 0.7052 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.1773, allocations: 7.938 kB / 0.7052 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1773, allocations: 4 kB / 0.7052 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1773, allocations: 0 / 0.7052 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1773, allocations: 0 / 0.7052 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1773, allocations: 7.938 kB / 0.7052 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1775, allocations: 145 kB / 0.7054 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.1776, allocations: 89.02 kB / 0.7055 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1776, allocations: 7.984 kB / 0.7055 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.1777, allocations: 4 kB / 0.7055 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.1778, allocations: 11.92 kB / 0.7055 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1778, allocations: 7.938 kB / 0.7055 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002168/0.178, allocations: 211.5 kB / 0.7057 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.178, allocations: 0 / 0.7057 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002723/0.1783, allocations: 35.92 kB / 0.7057 GB, free: 6.578 MB / 0.5137 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.002147/0.1804, allocations: 1 MB / 0.7067 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.1807, allocations: 71.91 kB / 0.7068 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1807, allocations: 0 / 0.7068 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.1808, allocations: 27.98 kB / 0.7068 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1811, allocations: 41.45 kB / 0.7068 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.1837, allocations: 1.986 MB / 0.7088 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.184, allocations: 0.728 MB / 0.7095 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.646e-05/0.1841, allocations: 25.06 kB / 0.7095 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.1842, allocations: 51.41 kB / 0.7096 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.1842, allocations: 0 / 0.7096 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.2066, allocations: 4.836 MB / 0.7143 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/8.697, allocations: 11.77 kB / 0.7143 GB, free: 13.96 MB / 0.5294 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.501109057979193] Failed to read output from testmodel.py, exit status != 0: 9.15706220897846 8.897425314 8.722002539 Calling exit ...