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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004439/0.004439, allocations: 101.9 kB / 15.73 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 199.1 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7807/0.7807, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 68.73 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1489, allocations: 80.21 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003327/0.1522, allocations: 1.761 MB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1541, allocations: 1.111 MB / 0.662 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1542, allocations: 4 kB / 0.662 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1545, allocations: 51.73 kB / 0.6621 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.1548, allocations: 83.66 kB / 0.6621 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.1555, allocations: 234.2 kB / 0.6624 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.1557, allocations: 147.7 kB / 0.6625 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.1558, allocations: 21.06 kB / 0.6625 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1559, allocations: 59.77 kB / 0.6626 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.156, allocations: 63.75 kB / 0.6626 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1561, allocations: 8 kB / 0.6627 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1562, allocations: 71.94 kB / 0.6627 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.1563, allocations: 47.78 kB / 0.6628 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.83e-05/0.1564, allocations: 55.67 kB / 0.6628 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.1567, allocations: 207.5 kB / 0.663 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1567, allocations: 0 / 0.663 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1567, allocations: 0 / 0.663 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1567, allocations: 0 / 0.663 GB, free: 10.12 MB / 0.4981 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.0006497/0.1574, allocations: 0.4883 MB / 0.6635 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1574, allocations: 11.97 kB / 0.6635 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1575, allocations: 34.73 kB / 0.6635 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.1575, allocations: 20.8 kB / 0.6636 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1578, allocations: 249.7 kB / 0.6638 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1579, allocations: 12.38 kB / 0.6638 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1579, allocations: 7.938 kB / 0.6638 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1581, allocations: 92.16 kB / 0.6639 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1581, allocations: 4 kB / 0.6639 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1581, allocations: 4 kB / 0.6639 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1582, allocations: 0 / 0.6639 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1583, allocations: 31.98 kB / 0.6639 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.1588, allocations: 360.6 kB / 0.6643 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.159, allocations: 82.66 kB / 0.6644 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.1591, allocations: 32.84 kB / 0.6644 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1591, allocations: 3.984 kB / 0.6644 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.1593, allocations: 87.41 kB / 0.6645 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.1593, allocations: 0 / 0.6645 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003463/0.1596, allocations: 133.6 kB / 0.6646 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.1597, allocations: 102.8 kB / 0.6647 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.16, allocations: 274.7 kB / 0.665 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.16, allocations: 29.7 kB / 0.665 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.1601, allocations: 124 kB / 0.6651 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.1601, allocations: 23.89 kB / 0.6651 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.1602, allocations: 25.7 kB / 0.6652 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1603, allocations: 326.8 kB / 0.6655 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.1604, allocations: 31.92 kB / 0.6655 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.1605, allocations: 68.27 kB / 0.6656 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1607, allocations: 69.7 kB / 0.6656 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1607, allocations: 0 / 0.6656 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000236/0.1609, allocations: 125.9 kB / 0.6658 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.161, allocations: 4 kB / 0.6658 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.161, allocations: 3.938 kB / 0.6658 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.161, allocations: 4 kB / 0.6658 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.1611, allocations: 8 kB / 0.6658 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1611, allocations: 4 kB / 0.6658 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.1612, allocations: 7.922 kB / 0.6658 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1612, allocations: 8.031 kB / 0.6658 GB, free: 6.98 MB / 0.4981 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.0001324/0.1613, allocations: 159 kB / 0.6659 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.1613, allocations: 15.91 kB / 0.666 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.1614, allocations: 17.39 kB / 0.666 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.1614, allocations: 8 kB / 0.666 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1614, allocations: 0 / 0.666 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1614, allocations: 3.938 kB / 0.666 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.1616, allocations: 225.5 kB / 0.6662 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1616, allocations: 0 / 0.6662 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.1617, allocations: 12 kB / 0.6662 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1617, allocations: 0 / 0.6662 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1617, allocations: 3.984 kB / 0.6662 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1617, allocations: 0 / 0.6662 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1617, allocations: 0 / 0.6662 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.162, allocations: 152.9 kB / 0.6664 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.1621, allocations: 89.02 kB / 0.6665 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.1621, allocations: 4 kB / 0.6665 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.1622, allocations: 4 kB / 0.6665 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.1622, allocations: 15.92 kB / 0.6665 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.1622, allocations: 4 kB / 0.6665 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001868/0.1624, allocations: 200.5 kB / 0.6667 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1624, allocations: 0 / 0.6667 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002404/0.1627, allocations: 31.94 kB / 0.6667 GB, free: 5.957 MB / 0.4981 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.001854/0.1645, allocations: 0.9992 MB / 0.6677 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.1648, allocations: 63.97 kB / 0.6677 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1648, allocations: 0 / 0.6677 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/0.1649, allocations: 35.92 kB / 0.6678 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1652, allocations: 51.44 kB / 0.6678 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.1674, allocations: 1.95 MB / 0.6697 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1678, allocations: 0.7201 MB / 0.6704 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.69e-05/0.1678, allocations: 25.38 kB / 0.6705 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.1679, allocations: 51.41 kB / 0.6705 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1679, allocations: 0 / 0.6705 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2804/0.4484, allocations: 4.675 MB / 0.6751 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.906/9.354, allocations: 11.69 kB / 0.6751 GB, free: 13.57 MB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)