Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 186 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9941/0.9941, allocations: 175.7 MB / 480.1 MB, free: 3.23 MB / 366.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 68.67 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1513, allocations: 94.53 MB / 0.7601 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002925/0.1542, allocations: 1.787 MB / 0.7618 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1559, allocations: 1.134 MB / 0.7629 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.156, allocations: 7.938 kB / 0.7629 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1562, allocations: 55.73 kB / 0.763 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.1564, allocations: 79.67 kB / 0.7631 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.157, allocations: 218.9 kB / 0.7633 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.1572, allocations: 147.6 kB / 0.7634 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.1573, allocations: 21.05 kB / 0.7634 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1574, allocations: 63.75 kB / 0.7635 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1575, allocations: 71.67 kB / 0.7636 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1575, allocations: 11.94 kB / 0.7636 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1577, allocations: 75.89 kB / 0.7636 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.1578, allocations: 35.91 kB / 0.7637 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.1578, allocations: 63.55 kB / 0.7637 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1581, allocations: 203.2 kB / 0.7639 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1581, allocations: 0 / 0.7639 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1581, allocations: 0 / 0.7639 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.1581, allocations: 0 / 0.7639 GB, free: 12.85 MB / 0.5762 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.0006241/0.1588, allocations: 496 kB / 0.7644 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1588, allocations: 8.031 kB / 0.7644 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.1588, allocations: 38.75 kB / 0.7645 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1589, allocations: 16.84 kB / 0.7645 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1592, allocations: 253 kB / 0.7647 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1592, allocations: 4.375 kB / 0.7647 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1592, allocations: 7.938 kB / 0.7647 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1594, allocations: 100.1 kB / 0.7648 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1594, allocations: 0 / 0.7648 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1594, allocations: 7.969 kB / 0.7648 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1595, allocations: 4 kB / 0.7648 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1596, allocations: 31.98 kB / 0.7649 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.16, allocations: 360.6 kB / 0.7652 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1603, allocations: 86.69 kB / 0.7653 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/0.1603, allocations: 28.84 kB / 0.7653 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1603, allocations: 4 kB / 0.7653 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.1605, allocations: 87.36 kB / 0.7654 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1605, allocations: 0 / 0.7654 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003444/0.1609, allocations: 137.5 kB / 0.7655 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.1609, allocations: 110.8 kB / 0.7656 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.1612, allocations: 267.1 kB / 0.7659 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1612, allocations: 25.7 kB / 0.7659 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.1613, allocations: 112.1 kB / 0.766 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1613, allocations: 23.86 kB / 0.766 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.1614, allocations: 33.7 kB / 0.7661 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1615, allocations: 322.8 kB / 0.7664 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-05/0.1616, allocations: 23.98 kB / 0.7664 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1617, allocations: 80.14 kB / 0.7665 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1618, allocations: 65.7 kB / 0.7666 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1618, allocations: 4 kB / 0.7666 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002164/0.162, allocations: 113.5 kB / 0.7667 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1621, allocations: 8 kB / 0.7667 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1621, allocations: 3.984 kB / 0.7667 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1621, allocations: 0 / 0.7667 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.1622, allocations: 16 kB / 0.7667 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1622, allocations: 0 / 0.7667 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.1622, allocations: 15.89 kB / 0.7667 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1622, allocations: 8 kB / 0.7667 GB, free: 9.719 MB / 0.5762 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.0001235/0.1624, allocations: 138.8 kB / 0.7668 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1624, allocations: 19.84 kB / 0.7669 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1627, allocations: 123 kB / 0.767 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.1627, allocations: 7.984 kB / 0.767 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1627, allocations: 0 / 0.767 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1627, allocations: 3.938 kB / 0.767 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.1629, allocations: 225.6 kB / 0.7672 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1629, allocations: 0 / 0.7672 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.1629, allocations: 4 kB / 0.7672 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1629, allocations: 4 kB / 0.7672 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1629, allocations: 0 / 0.7672 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1629, allocations: 3.984 kB / 0.7672 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1629, allocations: 0 / 0.7672 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1632, allocations: 145.4 kB / 0.7674 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.1632, allocations: 97 kB / 0.7675 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1633, allocations: 4 kB / 0.7675 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-05/0.1633, allocations: 0 / 0.7675 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.1634, allocations: 15.92 kB / 0.7675 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1634, allocations: 4 kB / 0.7675 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001817/0.1636, allocations: 200.4 kB / 0.7677 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1636, allocations: 0 / 0.7677 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002321/0.1638, allocations: 35.92 kB / 0.7677 GB, free: 8.602 MB / 0.5762 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.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * 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.001853/0.1656, allocations: 1.019 MB / 0.7687 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1659, allocations: 59.97 kB / 0.7688 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1659, allocations: 4 kB / 0.7688 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.1659, allocations: 31.92 kB / 0.7688 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.1662, allocations: 48.88 kB / 0.7688 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.1684, allocations: 1.957 MB / 0.7707 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1687, allocations: 0.7239 MB / 0.7714 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.947e-05/0.1688, allocations: 29.31 kB / 0.7715 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.1689, allocations: 47.42 kB / 0.7715 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1689, allocations: 0 / 0.7715 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.1951, allocations: 4.705 MB / 0.7761 GB, free: 64 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/7.483, allocations: 0 / 0.7761 GB, free: 64 kB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.934971588998451]