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.007764/0.007764, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001729/0.001729, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7891/0.7891, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 71.16 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1437, allocations: 80.2 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002988/0.1467, allocations: 1.767 MB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1484, allocations: 1.107 MB / 0.662 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1485, allocations: 7.875 kB / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.1489, allocations: 59.75 kB / 0.6621 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1491, allocations: 79.66 kB / 0.6621 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.1498, allocations: 223.4 kB / 0.6623 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.15, allocations: 143.6 kB / 0.6625 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1501, allocations: 25.11 kB / 0.6625 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1502, allocations: 63.75 kB / 0.6626 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1503, allocations: 63.75 kB / 0.6626 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1504, allocations: 11.94 kB / 0.6626 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.1505, allocations: 67.97 kB / 0.6627 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.1506, allocations: 39.83 kB / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.1507, allocations: 59.67 kB / 0.6628 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.151, allocations: 202.2 kB / 0.663 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.151, allocations: 0 / 0.663 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.151, allocations: 4 kB / 0.663 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.151, allocations: 3.938 kB / 0.663 GB, free: 6.82 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.0006211/0.1516, allocations: 493.1 kB / 0.6635 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1517, allocations: 12.03 kB / 0.6635 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.1517, allocations: 34.75 kB / 0.6635 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.1518, allocations: 16.75 kB / 0.6635 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1521, allocations: 252.9 kB / 0.6638 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1521, allocations: 4.375 kB / 0.6638 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1521, allocations: 3.938 kB / 0.6638 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1524, allocations: 96.23 kB / 0.6639 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1524, allocations: 0 / 0.6639 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1524, allocations: 7.984 kB / 0.6639 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.1524, allocations: 0 / 0.6639 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1525, allocations: 39.91 kB / 0.6639 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.153, allocations: 360.6 kB / 0.6643 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.1532, allocations: 90.7 kB / 0.6644 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.1533, allocations: 32.84 kB / 0.6644 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1534, allocations: 0 / 0.6644 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.1535, allocations: 75.38 kB / 0.6645 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.1535, allocations: 4 kB / 0.6645 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003586/0.1539, allocations: 149.4 kB / 0.6646 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.154, allocations: 102.8 kB / 0.6647 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1542, allocations: 270.7 kB / 0.665 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1543, allocations: 25.7 kB / 0.665 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.1543, allocations: 120.1 kB / 0.6651 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1544, allocations: 23.59 kB / 0.6651 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.1544, allocations: 29.7 kB / 0.6651 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1546, allocations: 330.8 kB / 0.6655 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.1547, allocations: 27.98 kB / 0.6655 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.176e-05/0.1548, allocations: 64.27 kB / 0.6656 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1549, allocations: 69.83 kB / 0.6656 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1549, allocations: 0 / 0.6656 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002194/0.1551, allocations: 133.6 kB / 0.6657 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1552, allocations: 4 kB / 0.6657 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1552, allocations: 0 / 0.6657 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1552, allocations: 4 kB / 0.6658 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.1553, allocations: 11.98 kB / 0.6658 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1553, allocations: 0 / 0.6658 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.1554, allocations: 11.94 kB / 0.6658 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1554, allocations: 4 kB / 0.6658 GB, free: 3.688 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.0001383/0.1555, allocations: 154.7 kB / 0.6659 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.1556, allocations: 15.8 kB / 0.6659 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.1556, allocations: 17.41 kB / 0.666 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.1556, allocations: 4 kB / 0.666 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1556, allocations: 0 / 0.666 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1557, allocations: 7.922 kB / 0.666 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.1559, allocations: 213.6 kB / 0.6662 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1559, allocations: 0 / 0.6662 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.1559, allocations: 11.94 kB / 0.6662 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1559, allocations: 4 kB / 0.6662 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1559, allocations: 4 kB / 0.6662 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1559, allocations: 0 / 0.6662 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1559, allocations: 0 / 0.6662 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1562, allocations: 144.8 kB / 0.6663 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.1563, allocations: 88.92 kB / 0.6664 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.1563, allocations: 11.98 kB / 0.6664 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.1564, allocations: 0 / 0.6664 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.1564, allocations: 15.92 kB / 0.6664 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1564, allocations: 8 kB / 0.6664 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001605/0.1566, allocations: 187.2 kB / 0.6666 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.382e-06/0.1566, allocations: 0 / 0.6666 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002521/0.1569, allocations: 39.86 kB / 0.6667 GB, free: 2.68 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.001294/0.1582, allocations: 1.003 MB / 0.6676 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1584, allocations: 75.89 kB / 0.6677 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1584, allocations: 0 / 0.6677 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.1585, allocations: 31.98 kB / 0.6677 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.1588, allocations: 39.41 kB / 0.6678 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.161, allocations: 1.943 MB / 0.6697 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1614, allocations: 0.7239 MB / 0.6704 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.439e-05/0.1615, allocations: 25.38 kB / 0.6704 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.1616, allocations: 47.42 kB / 0.6705 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.1616, allocations: 4 kB / 0.6705 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.1824, allocations: 4.714 MB / 0.6751 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/7.977, allocations: 13.08 kB / 0.6751 GB, free: 10.24 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)