Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001596/0.001596, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 61.56 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3265, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003124/0.3297, allocations: 1.786 MB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.3314, allocations: 1.107 MB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.3315, allocations: 8 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3318, allocations: 51.73 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.3321, allocations: 83.66 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.3328, allocations: 222.3 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.333, allocations: 139.7 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3332, allocations: 29.09 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3333, allocations: 59.78 kB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.3335, allocations: 63.69 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.3335, allocations: 8 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.3337, allocations: 63.95 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.3338, allocations: 43.84 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.3339, allocations: 63.53 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.3342, allocations: 191.7 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3342, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3343, allocations: 4 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3343, allocations: 4 kB / 1.072 GB, free: 6.477 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.0007522/0.335, allocations: 496.2 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3351, allocations: 8.031 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.3351, allocations: 16.75 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.3355, allocations: 244.9 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3355, allocations: 4.375 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3355, allocations: 16.09 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3358, allocations: 92.23 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3358, allocations: 7.938 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3358, allocations: 3.984 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.3358, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.336, allocations: 35.92 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.3365, allocations: 360.6 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.3368, allocations: 86.69 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.3369, allocations: 32.84 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3369, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.3372, allocations: 83.38 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.754e-06/0.3372, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004588/0.3376, allocations: 149.4 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.3377, allocations: 102.8 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.338, allocations: 266.8 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.338, allocations: 25.7 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.3381, allocations: 116.1 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.3382, allocations: 23.7 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.3382, allocations: 29.72 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3384, allocations: 334.8 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.3385, allocations: 23.98 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.943e-05/0.3386, allocations: 64.28 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.3387, allocations: 77.61 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3387, allocations: 4 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.339, allocations: 109.8 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.339, allocations: 4 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.339, allocations: 3.938 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.339, allocations: 4 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3391, allocations: 11.98 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3392, allocations: 8.062 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.3392, allocations: 15.88 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3392, allocations: 4 kB / 1.075 GB, free: 3.395 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.0002308/0.3395, allocations: 148.7 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.3395, allocations: 15.81 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.3396, allocations: 21.39 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.3396, allocations: 4 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3396, allocations: 0 / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3396, allocations: 4.125 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.3399, allocations: 221.5 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3399, allocations: 3.938 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.3399, allocations: 15.92 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3399, allocations: 4 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.34, allocations: 4 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.34, allocations: 0 / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.34, allocations: 0 / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.3402, allocations: 140.8 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.3403, allocations: 85.02 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3403, allocations: 4 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.786e-05/0.3404, allocations: 7.984 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.3405, allocations: 8 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3405, allocations: 11.92 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002162/0.3407, allocations: 192.6 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3407, allocations: 3.938 kB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002669/0.341, allocations: 35.91 kB / 1.076 GB, free: 2.391 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.001043/0.342, allocations: 438.6 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.3423, allocations: 75.94 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3423, allocations: 0 / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.3424, allocations: 39.92 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3427, allocations: 36.09 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.3432, allocations: 294.9 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3436, allocations: 0.7201 MB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.482e-05/0.3436, allocations: 29.38 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.3437, allocations: 19.44 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3437, allocations: 0 / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of Templates: time 0.005725/0.3494, allocations: 2.533 MB / 1.08 GB, free: 14.35 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)