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.001483/0.001483, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001242/0.001242, allocations: 191.2 kB / 16.25 MB, free: 6.582 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001402, allocations: 62.7 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3196, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003123/0.3228, allocations: 1.837 MB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3244, allocations: 1.095 MB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.3245, allocations: 4 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.3249, allocations: 47.81 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.3251, allocations: 71.73 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.3256, allocations: 195 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.3259, allocations: 151.7 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.3261, allocations: 21.11 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3263, allocations: 63.7 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3264, allocations: 67.75 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.3264, allocations: 4 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.3266, allocations: 67.91 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.129e-05/0.3267, allocations: 43.83 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.3268, allocations: 55.61 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.3272, allocations: 203.7 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3272, allocations: 0 / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3272, allocations: 0 / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3272, allocations: 0 / 1.071 GB, free: 6.875 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.0008306/0.328, allocations: 0.4885 MB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.3281, allocations: 8.031 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.3282, allocations: 16.75 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.3285, allocations: 245 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3285, allocations: 384 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3286, allocations: 16.12 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3288, allocations: 96.16 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3288, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3288, allocations: 3.984 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.3289, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.329, allocations: 35.92 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.3295, allocations: 368.5 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.3297, allocations: 86.66 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.3298, allocations: 28.84 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.3299, allocations: 4 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.3301, allocations: 87.41 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.3301, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003612/0.3305, allocations: 129.7 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.3306, allocations: 114.8 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.3308, allocations: 262.8 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3308, allocations: 25.7 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.3309, allocations: 124.1 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.331, allocations: 23.7 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.331, allocations: 25.72 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3311, allocations: 334.8 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.3312, allocations: 27.92 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.43e-05/0.3313, allocations: 68.28 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.3315, allocations: 77.75 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3315, allocations: 0 / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002093/0.3317, allocations: 113.4 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3317, allocations: 8 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3317, allocations: 0 / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3317, allocations: 0 / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.387e-05/0.3318, allocations: 15.98 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3318, allocations: 0 / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.3319, allocations: 11.88 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3319, allocations: 8.031 kB / 1.074 GB, free: 3.789 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.0001192/0.3321, allocations: 153.7 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3321, allocations: 15.81 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.3321, allocations: 21.39 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3322, allocations: 0 / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3322, allocations: 0 / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3322, allocations: 3.938 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3324, allocations: 225.5 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3324, allocations: 0 / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.3324, allocations: 12.17 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3324, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3324, allocations: 7.938 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3324, allocations: 0 / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3325, allocations: 0 / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.3327, allocations: 144.8 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.3328, allocations: 93.02 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3328, allocations: 0 / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.3329, allocations: 11.98 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.3329, allocations: 8 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3329, allocations: 15.86 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001569/0.3331, allocations: 187.2 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3331, allocations: 0 / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002533/0.3334, allocations: 39.91 kB / 1.075 GB, free: 2.773 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.001025/0.3344, allocations: 430.8 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.3346, allocations: 83.89 kB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3347, allocations: 0 / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.3348, allocations: 31.98 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3351, allocations: 34.81 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.3356, allocations: 326.8 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3358, allocations: 0.724 MB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.557e-05/0.3359, allocations: 29.36 kB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.336, allocations: 19.44 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.336, allocations: 0 / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of Templates: time 0.005514/0.3415, allocations: 2.5 MB / 1.079 GB, free: 14.74 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)