Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, 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.001285/0.001284, allocations: 199.6 kB / 16.26 MB, free: 6.617 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.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.746/2.746, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 57.3 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3123, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00339/0.3157, allocations: 1.845 MB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3176, allocations: 1.087 MB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3177, allocations: 0 / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.3181, allocations: 47.81 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.3184, allocations: 75.8 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.3192, allocations: 198.9 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.3195, allocations: 147.6 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3196, allocations: 29.09 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3197, allocations: 63.7 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.3199, allocations: 63.75 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.3199, allocations: 8 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.3201, allocations: 63.91 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.478e-05/0.3202, allocations: 43.84 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.3203, allocations: 59.59 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.3206, allocations: 199.7 kB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3206, allocations: 0 / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3206, allocations: 0 / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3206, allocations: 0 / 1.072 GB, free: 6.898 MB / 0.8262 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.0006657/0.3213, allocations: 496.2 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3213, allocations: 12.03 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.3214, allocations: 16.75 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.3217, allocations: 248.9 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3217, allocations: 4.375 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.3217, allocations: 8.125 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.322, allocations: 100.2 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.322, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.322, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.322, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3221, allocations: 39.91 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.3228, allocations: 352.6 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.323, allocations: 98.69 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/0.3231, allocations: 28.84 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.3231, allocations: 4 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.3234, allocations: 79.36 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.3234, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003916/0.3238, allocations: 145.4 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.3239, allocations: 106.8 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.3242, allocations: 262.8 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3242, allocations: 25.7 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.3243, allocations: 120.1 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.3243, allocations: 23.69 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.3244, allocations: 33.7 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3245, allocations: 330.8 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.3246, allocations: 27.98 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.755e-05/0.3247, allocations: 60.28 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3248, allocations: 77.94 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3248, allocations: 0 / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002239/0.3251, allocations: 117.4 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3251, allocations: 4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3251, allocations: 4 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3251, allocations: 0 / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.3252, allocations: 19.98 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3252, allocations: 0 / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.3253, allocations: 11.88 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3253, allocations: 0 / 1.074 GB, free: 3.82 MB / 0.8262 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.0001281/0.3255, allocations: 149.8 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3255, allocations: 23.84 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.3255, allocations: 21.39 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.3256, allocations: 0 / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3256, allocations: 0 / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3256, allocations: 7.875 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.3258, allocations: 225.5 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3258, allocations: 4 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.3258, allocations: 8.172 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3258, allocations: 0 / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3259, allocations: 7.938 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3259, allocations: 0 / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3259, allocations: 8 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.3261, allocations: 136.8 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.3262, allocations: 89.02 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.3262, allocations: 11.97 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.3263, allocations: 4 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.3263, allocations: 11.92 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3263, allocations: 7.938 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001601/0.3265, allocations: 195.2 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3265, allocations: 3.938 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002552/0.3268, allocations: 43.89 kB / 1.075 GB, free: 2.785 MB / 0.8262 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.0009759/0.3278, allocations: 420.3 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.328, allocations: 75.89 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.328, allocations: 4 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.3281, allocations: 36.05 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3284, allocations: 36.16 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.3289, allocations: 314.9 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.3292, allocations: 0.7279 MB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.724e-05/0.3292, allocations: 21.38 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.3293, allocations: 27.44 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of SimCode: time 1.714e-06/0.3293, allocations: 0 / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.005812/0.3351, allocations: 2.514 MB / 1.079 GB, free: 14.75 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)