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.001373/0.001373, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001714/0.001713, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.907/1.907, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9322/0.9322, allocations: 132.3 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005841/0.0005842, allocations: 12 kB / 0.5033 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7362, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003564/0.7398, allocations: 1.451 MB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.7426, allocations: 0.991 MB / 0.5853 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.7427, allocations: 4.656 kB / 0.5853 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.7432, allocations: 46.45 kB / 0.5854 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.7435, allocations: 66.03 kB / 0.5855 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.7446, allocations: 186.1 kB / 0.5856 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.7449, allocations: 87.89 kB / 0.5857 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.7451, allocations: 21.64 kB / 0.5857 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.7453, allocations: 52.75 kB / 0.5858 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.7455, allocations: 55.81 kB / 0.5858 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.7455, allocations: 2.531 kB / 0.5858 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.7458, allocations: 49.88 kB / 0.5859 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.7459, allocations: 30.3 kB / 0.5859 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.414e-05/0.746, allocations: 48.7 kB / 0.586 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.7464, allocations: 152.2 kB / 0.5861 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7465, allocations: 0 / 0.5861 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7465, allocations: 0 / 0.5861 GB, free: 1.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.7465, allocations: 0 / 0.5861 GB, free: 1.953 MB / 430.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.0008726/0.7474, allocations: 478.7 kB / 0.5866 GB, free: 1.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.7474, allocations: 9.656 kB / 0.5866 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.7475, allocations: 33.53 kB / 0.5866 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.7476, allocations: 16.25 kB / 0.5866 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.7481, allocations: 244.4 kB / 0.5869 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.7481, allocations: 3.109 kB / 0.5869 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.7481, allocations: 7.281 kB / 0.5869 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.7485, allocations: 97.28 kB / 0.587 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.7485, allocations: 0.7031 kB / 0.587 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.7485, allocations: 0 / 0.587 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.7486, allocations: 3.688 kB / 0.587 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.7488, allocations: 37.88 kB / 0.587 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.7496, allocations: 352.2 kB / 0.5873 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.7499, allocations: 92.03 kB / 0.5874 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.75, allocations: 1.062 kB / 0.5874 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.7503, allocations: 79.89 kB / 0.5875 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 2.525e-06/0.7504, allocations: 0 / 0.5875 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006811/0.751, allocations: 219.2 kB / 0.5877 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.7511, allocations: 113.5 kB / 0.5878 GB, free: 408 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.7517, allocations: 261.2 kB / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.7517, allocations: 27.08 kB / 0.5881 GB, free: 224 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.7519, allocations: 121.3 kB / 0.5882 GB, free: 112 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.7519, allocations: 27.67 kB / 0.5882 GB, free: 88 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.7519, allocations: 0.625 kB / 0.5882 GB, free: 88 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.7521, allocations: 329.4 kB / 0.5885 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.7523, allocations: 24.97 kB / 0.5886 GB, free: 15.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.7525, allocations: 71.23 kB / 0.5886 GB, free: 15.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.7527, allocations: 30.98 kB / 0.5887 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.7527, allocations: 1.344 kB / 0.5887 GB, free: 15.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004578/0.7532, allocations: 116.7 kB / 0.5888 GB, free: 15.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.7532, allocations: 5.469 kB / 0.5888 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.7532, allocations: 0.8438 kB / 0.5888 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7533, allocations: 4.75 kB / 0.5888 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.7535, allocations: 16.77 kB / 0.5888 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.7535, allocations: 5.172 kB / 0.5888 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.7536, allocations: 8.766 kB / 0.5888 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.7537, allocations: 3.359 kB / 0.5888 GB, free: 15.61 MB / 446.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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.754, allocations: 138.8 kB / 0.589 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.754, allocations: 16.17 kB / 0.589 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.7541, allocations: 26.19 kB / 0.589 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.7542, allocations: 7.094 kB / 0.589 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7542, allocations: 0 / 0.589 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.7542, allocations: 4.703 kB / 0.589 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.7546, allocations: 223.8 kB / 0.5892 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.7547, allocations: 0 / 0.5892 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/0.7548, allocations: 6.391 kB / 0.5892 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.7548, allocations: 0 / 0.5892 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.7548, allocations: 6.734 kB / 0.5892 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7548, allocations: 0.6562 kB / 0.5892 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7548, allocations: 0.5 kB / 0.5892 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.7553, allocations: 150.5 kB / 0.5894 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.7555, allocations: 97.25 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.7556, allocations: 6.516 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.7557, allocations: 4.344 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.7558, allocations: 6.875 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.7558, allocations: 8 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00041/0.7562, allocations: 191.2 kB / 0.5897 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.929e-06/0.7563, allocations: 4.844 kB / 0.5897 GB, free: 14.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000544/0.7568, allocations: 34.64 kB / 0.5897 GB, free: 14.9 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002655/0.7595, allocations: 1.001 MB / 0.5907 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.76, allocations: 75.61 kB / 0.5908 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.76, allocations: 1.406 kB / 0.5908 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.7602, allocations: 36.95 kB / 0.5908 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.7606, allocations: 32.5 kB / 0.5908 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.764, allocations: 1.096 MB / 0.5919 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.7646, allocations: 0.7291 MB / 0.5926 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.7648, allocations: 24.94 kB / 0.5926 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.7649, allocations: 49.92 kB / 0.5927 GB, free: 12.7 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.765, allocations: 0 / 0.5927 GB, free: 12.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.7956, allocations: 4.121 MB / 0.5967 GB, free: 11.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/0.796, allocations: 202.7 kB / 0.5969 GB, free: 11.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/3.57, allocations: 0 / 0.5969 GB, free: 11.61 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: