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.00119/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001479/0.001479, allocations: 192.4 kB / 16.14 MB, free: 6.707 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7117/0.7117, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 68.09 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1385, allocations: 80.2 MB / 0.5795 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002632/0.1412, allocations: 1.817 MB / 0.5813 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1426, allocations: 1.096 MB / 0.5823 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.1427, allocations: 0 / 0.5823 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.1429, allocations: 59.8 kB / 0.5824 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.1431, allocations: 67.75 kB / 0.5825 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.1435, allocations: 201.8 kB / 0.5827 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1437, allocations: 131.6 kB / 0.5828 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.1438, allocations: 21.11 kB / 0.5828 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.1439, allocations: 59.7 kB / 0.5829 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.144, allocations: 63.75 kB / 0.5829 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.144, allocations: 0 / 0.5829 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1441, allocations: 63.91 kB / 0.583 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.1442, allocations: 39.83 kB / 0.583 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.1442, allocations: 55.67 kB / 0.5831 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1445, allocations: 195.7 kB / 0.5833 GB, free: 5.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1445, allocations: 0 / 0.5833 GB, free: 5.277 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.1445, allocations: 0 / 0.5833 GB, free: 5.277 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1445, allocations: 0 / 0.5833 GB, free: 5.277 MB / 494.1 MB 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.0004968/0.145, allocations: 496.3 kB / 0.5837 GB, free: 4.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.145, allocations: 11.97 kB / 0.5837 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.1451, allocations: 38.69 kB / 0.5838 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.1451, allocations: 20.69 kB / 0.5838 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1453, allocations: 249.5 kB / 0.584 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1454, allocations: 8.375 kB / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1454, allocations: 7.938 kB / 0.5841 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1456, allocations: 96.17 kB / 0.5842 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-06/0.1456, allocations: 0 / 0.5842 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1456, allocations: 0 / 0.5842 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.1456, allocations: 7.984 kB / 0.5842 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.1457, allocations: 31.98 kB / 0.5842 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.1461, allocations: 360.6 kB / 0.5845 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1463, allocations: 86.67 kB / 0.5846 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.1464, allocations: 28.84 kB / 0.5846 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.1464, allocations: 4 kB / 0.5846 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1466, allocations: 83.41 kB / 0.5847 GB, free: 3.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 3.416e-06/0.1466, allocations: 3.984 kB / 0.5847 GB, free: 3.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.000311/0.1469, allocations: 141.4 kB / 0.5849 GB, free: 3.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.147, allocations: 106.8 kB / 0.585 GB, free: 3.312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1472, allocations: 267 kB / 0.5852 GB, free: 3.043 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1472, allocations: 29.7 kB / 0.5853 GB, free: 3.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.1473, allocations: 112.1 kB / 0.5854 GB, free: 2.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.1473, allocations: 15.81 kB / 0.5854 GB, free: 2.879 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.1474, allocations: 29.7 kB / 0.5854 GB, free: 2.844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.1475, allocations: 326.8 kB / 0.5857 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.1476, allocations: 27.98 kB / 0.5857 GB, free: 2.488 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.1477, allocations: 76.2 kB / 0.5858 GB, free: 2.398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1478, allocations: 61.7 kB / 0.5859 GB, free: 2.332 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1478, allocations: 4 kB / 0.5859 GB, free: 2.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002101/0.148, allocations: 117.6 kB / 0.586 GB, free: 2.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.148, allocations: 8 kB / 0.586 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1481, allocations: 7.875 kB / 0.586 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1481, allocations: 0 / 0.586 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.1482, allocations: 15.98 kB / 0.586 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.1482, allocations: 400 / 0.586 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.1482, allocations: 15.78 kB / 0.586 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1482, allocations: 3.984 kB / 0.586 GB, free: 2.156 MB / 494.1 MB 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.0001053/0.1484, allocations: 151.3 kB / 0.5862 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.1484, allocations: 19.84 kB / 0.5862 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.1484, allocations: 17.41 kB / 0.5862 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.1484, allocations: 4 kB / 0.5862 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1485, allocations: 3.984 kB / 0.5862 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1485, allocations: 3.938 kB / 0.5862 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1486, allocations: 221.6 kB / 0.5864 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1486, allocations: 0 / 0.5864 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.1487, allocations: 4 kB / 0.5864 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1487, allocations: 0 / 0.5864 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1487, allocations: 0 / 0.5864 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.1487, allocations: 8 kB / 0.5865 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1487, allocations: 3.984 kB / 0.5865 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1489, allocations: 148.8 kB / 0.5866 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.149, allocations: 96.91 kB / 0.5867 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.149, allocations: 0 / 0.5867 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.515e-05/0.1491, allocations: 4 kB / 0.5867 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.1491, allocations: 15.92 kB / 0.5867 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.1492, allocations: 0 / 0.5867 GB, free: 1.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.1493, allocations: 204.4 kB / 0.5869 GB, free: 1.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1493, allocations: 0 / 0.5869 GB, free: 1.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1496, allocations: 32 kB / 0.5869 GB, free: 1.141 MB / 494.1 MB 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.001245/0.1508, allocations: 1 MB / 0.5879 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.151, allocations: 71.89 kB / 0.588 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.151, allocations: 0 / 0.588 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.1511, allocations: 35.92 kB / 0.588 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1514, allocations: 43.69 kB / 0.5881 GB, free: 152 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.1533, allocations: 1.951 MB / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.1535, allocations: 0.7282 MB / 0.5907 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.229e-05/0.1536, allocations: 29.36 kB / 0.5907 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.1537, allocations: 47.42 kB / 0.5907 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1537, allocations: 0 / 0.5907 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.704/2.858, allocations: 4.382 MB / 0.595 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/2.858, allocations: 236 kB / 0.5952 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/4.779, allocations: 4 kB / 0.5953 GB, free: 8.77 MB / 0.4981 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)