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.005579/0.005579, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001254/0.001255, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7571/0.7571, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.81 kB / 0.5809 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1335, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00296/0.1365, allocations: 1.759 MB / 0.6609 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1382, allocations: 1.107 MB / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.1383, allocations: 3.938 kB / 0.662 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1386, allocations: 59.73 kB / 0.6621 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1388, allocations: 83.66 kB / 0.6621 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.1395, allocations: 227.7 kB / 0.6624 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.1397, allocations: 143.7 kB / 0.6625 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.1398, allocations: 25.09 kB / 0.6625 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1399, allocations: 63.7 kB / 0.6626 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.14, allocations: 63.75 kB / 0.6626 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1401, allocations: 12 kB / 0.6626 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1402, allocations: 75.94 kB / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.1403, allocations: 39.8 kB / 0.6628 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.1404, allocations: 59.66 kB / 0.6628 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1406, allocations: 198.3 kB / 0.663 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1407, allocations: 0 / 0.663 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1407, allocations: 0 / 0.663 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.1407, allocations: 0 / 0.663 GB, free: 6.812 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.0005993/0.1413, allocations: 0.4893 MB / 0.6635 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1413, allocations: 12.03 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.1414, allocations: 42.69 kB / 0.6635 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.1414, allocations: 12.75 kB / 0.6635 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.1418, allocations: 248.9 kB / 0.6638 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1418, allocations: 4.375 kB / 0.6638 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.1418, allocations: 7.938 kB / 0.6638 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.1421, allocations: 100.1 kB / 0.6639 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-06/0.1421, allocations: 4 kB / 0.6639 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1421, allocations: 3.984 kB / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.1421, allocations: 0 / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.1422, allocations: 31.98 kB / 0.6639 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1427, allocations: 360.5 kB / 0.6643 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.1429, allocations: 78.67 kB / 0.6643 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.143, allocations: 40.83 kB / 0.6644 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.143, allocations: 4 kB / 0.6644 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.1432, allocations: 83.39 kB / 0.6645 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.1432, allocations: 4 kB / 0.6645 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003236/0.1435, allocations: 133.5 kB / 0.6646 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1436, allocations: 102.8 kB / 0.6647 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1439, allocations: 278.7 kB / 0.665 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1439, allocations: 25.7 kB / 0.665 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.144, allocations: 116.1 kB / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.144, allocations: 23.59 kB / 0.6651 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.144, allocations: 33.69 kB / 0.6652 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1441, allocations: 326.8 kB / 0.6655 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/0.1442, allocations: 23.98 kB / 0.6655 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.1443, allocations: 76.2 kB / 0.6656 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1445, allocations: 65.7 kB / 0.6656 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1445, allocations: 0 / 0.6656 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002455/0.1447, allocations: 113.4 kB / 0.6657 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1447, allocations: 4 kB / 0.6657 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1448, allocations: 7.984 kB / 0.6657 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1448, allocations: 4.031 kB / 0.6657 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.1449, allocations: 8 kB / 0.6658 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1449, allocations: 4.391 kB / 0.6658 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.1449, allocations: 7.938 kB / 0.6658 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.145, allocations: 7.984 kB / 0.6658 GB, free: 3.684 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.000116/0.1451, allocations: 150.8 kB / 0.6659 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.1451, allocations: 19.81 kB / 0.6659 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.1452, allocations: 21.34 kB / 0.666 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.1452, allocations: 11.98 kB / 0.666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1452, allocations: 0 / 0.666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1452, allocations: 3.938 kB / 0.666 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.1454, allocations: 217.6 kB / 0.6662 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1454, allocations: 0 / 0.6662 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.1455, allocations: 8 kB / 0.6662 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1455, allocations: 0 / 0.6662 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1455, allocations: 4.047 kB / 0.6662 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1455, allocations: 3.984 kB / 0.6662 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1455, allocations: 7.969 kB / 0.6662 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.1457, allocations: 144.8 kB / 0.6663 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.1458, allocations: 92.91 kB / 0.6664 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1458, allocations: 8 kB / 0.6664 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.1459, allocations: 0 / 0.6664 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1459, allocations: 11.92 kB / 0.6664 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.146, allocations: 4 kB / 0.6665 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001653/0.1461, allocations: 195.2 kB / 0.6666 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.273e-06/0.1461, allocations: 0 / 0.6666 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002394/0.1464, allocations: 43.86 kB / 0.6667 GB, free: 2.656 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.001278/0.1477, allocations: 0.9887 MB / 0.6676 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1479, allocations: 71.91 kB / 0.6677 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1479, allocations: 4.062 kB / 0.6677 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.148, allocations: 35.92 kB / 0.6678 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1483, allocations: 42.16 kB / 0.6678 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.1504, allocations: 1.94 MB / 0.6697 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1507, allocations: 0.7318 MB / 0.6704 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.909e-05/0.1508, allocations: 21.38 kB / 0.6704 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.1509, allocations: 47.42 kB / 0.6705 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1509, allocations: 0 / 0.6705 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.1719, allocations: 4.677 MB / 0.675 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.744, allocations: 4.062 kB / 0.675 GB, free: 10.27 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)