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) 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-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001162/0.001162, allocations: 194.7 kB / 16.26 MB, free: 6.621 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.167/1.167, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8187/0.8187, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.81 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1255, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00277/0.1283, allocations: 1.813 MB / 0.5858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1298, allocations: 1.088 MB / 0.5868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.1299, allocations: 4 kB / 0.5868 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.1302, allocations: 55.8 kB / 0.5869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.1304, allocations: 59.81 kB / 0.5869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.1309, allocations: 217 kB / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1311, allocations: 135.7 kB / 0.5873 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.1312, allocations: 25.09 kB / 0.5873 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.1313, allocations: 71.64 kB / 0.5874 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/0.1314, allocations: 67.75 kB / 0.5874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1314, allocations: 8 kB / 0.5874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1315, allocations: 71.89 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1316, allocations: 39.89 kB / 0.5875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.1317, allocations: 55.62 kB / 0.5876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1319, allocations: 203.7 kB / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1319, allocations: 0 / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1319, allocations: 0 / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.132, allocations: 0 / 0.5878 GB, free: 0.8594 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.0005267/0.1325, allocations: 492.2 kB / 0.5883 GB, free: 332 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1325, allocations: 12.03 kB / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.1326, allocations: 42.73 kB / 0.5883 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.1326, allocations: 16.69 kB / 0.5883 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1329, allocations: 245.1 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1329, allocations: 4.375 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1329, allocations: 7.938 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1331, allocations: 96.16 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1331, allocations: 11.94 kB / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1331, allocations: 0 / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.1331, allocations: 0 / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.695e-05/0.1332, allocations: 31.98 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.1337, allocations: 364.5 kB / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1339, allocations: 86.66 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.1339, allocations: 36.84 kB / 0.5892 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.134, allocations: 3.984 kB / 0.5892 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.1341, allocations: 79.41 kB / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.1342, allocations: 4 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003112/0.1345, allocations: 133.5 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1345, allocations: 106.8 kB / 0.5895 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1348, allocations: 270.9 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1348, allocations: 29.69 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.1349, allocations: 120 kB / 0.5899 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.1349, allocations: 11.81 kB / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.1349, allocations: 29.7 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.135, allocations: 330.8 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.1351, allocations: 23.92 kB / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.1352, allocations: 72.27 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1353, allocations: 65.7 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1353, allocations: 0 / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.1355, allocations: 117.4 kB / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1356, allocations: 7.984 kB / 0.5905 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1356, allocations: 4.219 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-06/0.1356, allocations: 4 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.1357, allocations: 11.94 kB / 0.5905 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1357, allocations: 4 kB / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.1358, allocations: 19.77 kB / 0.5906 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1358, allocations: 4 kB / 0.5906 GB, free: 13.73 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.0001051/0.1359, allocations: 142.5 kB / 0.5907 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.1359, allocations: 19.81 kB / 0.5907 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.136, allocations: 25.33 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.136, allocations: 4 kB / 0.5907 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.136, allocations: 4 kB / 0.5908 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.136, allocations: 3.938 kB / 0.5908 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1361, allocations: 213.6 kB / 0.591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1362, allocations: 0 / 0.591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.1362, allocations: 12 kB / 0.591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1362, allocations: 0 / 0.591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1362, allocations: 3.984 kB / 0.591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1362, allocations: 0 / 0.591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1362, allocations: 0 / 0.591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1365, allocations: 148.8 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1365, allocations: 92.91 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1365, allocations: 8 kB / 0.5912 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.1366, allocations: 0 / 0.5912 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.1366, allocations: 11.92 kB / 0.5912 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1367, allocations: 4 kB / 0.5912 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001515/0.1368, allocations: 196.6 kB / 0.5914 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1368, allocations: 4 kB / 0.5914 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002245/0.137, allocations: 32 kB / 0.5914 GB, free: 12.73 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.001184/0.1382, allocations: 1.006 MB / 0.5924 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1384, allocations: 71.97 kB / 0.5925 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1385, allocations: 0 / 0.5925 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.1385, allocations: 43.91 kB / 0.5925 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.1388, allocations: 42.94 kB / 0.5926 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1407, allocations: 1.954 MB / 0.5945 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.1409, allocations: 0.724 MB / 0.5952 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.03e-05/0.141, allocations: 29.36 kB / 0.5952 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.1411, allocations: 51.42 kB / 0.5953 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1411, allocations: 0 / 0.5953 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9859/1.127, allocations: 4.494 MB / 0.5997 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003216/1.127, allocations: 236.8 kB / 0.5999 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.998, allocations: 0 / 0.5999 GB, free: 4.227 MB / 0.4981 GB (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)