Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009921/0.0009921, allocations: 96.81 kB / 16.27 MB, free: 5.996 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.001715/0.001715, allocations: 189.8 kB / 17.2 MB, free: 5.609 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8102/0.8102, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.89 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3821, allocations: 77.93 MB / 0.5672 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003095/0.3853, allocations: 1.753 MB / 0.5689 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.3869, allocations: 1.103 MB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.599e-05/0.387, allocations: 1.125 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.3873, allocations: 66.05 kB / 0.57 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.3876, allocations: 72.91 kB / 0.5701 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.3882, allocations: 227.2 kB / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.3884, allocations: 145.6 kB / 0.5705 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3886, allocations: 26.67 kB / 0.5705 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3887, allocations: 68.05 kB / 0.5706 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3889, allocations: 67.75 kB / 0.5706 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.3889, allocations: 6.5 kB / 0.5706 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.389, allocations: 67.47 kB / 0.5707 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.3891, allocations: 35.55 kB / 0.5707 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.3892, allocations: 62.72 kB / 0.5708 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.3895, allocations: 200.4 kB / 0.571 GB, free: 30.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3895, allocations: 0 / 0.571 GB, free: 30.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3896, allocations: 3.531 kB / 0.571 GB, free: 30.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3896, allocations: 3.938 kB / 0.571 GB, free: 30.23 MB / 446.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.0006165/0.3902, allocations: 487.2 kB / 0.5715 GB, free: 29.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3902, allocations: 10.81 kB / 0.5715 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.3903, allocations: 20.61 kB / 0.5715 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.3906, allocations: 253.2 kB / 0.5717 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3906, allocations: 3.984 kB / 0.5717 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.3906, allocations: 11.69 kB / 0.5717 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.3908, allocations: 94.62 kB / 0.5718 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3908, allocations: 0.7031 kB / 0.5718 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3908, allocations: 0.7188 kB / 0.5718 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.3909, allocations: 4.484 kB / 0.5718 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.391, allocations: 34.91 kB / 0.5719 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.3915, allocations: 356.9 kB / 0.5722 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.3917, allocations: 85.08 kB / 0.5723 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.253e-05/0.3918, allocations: 32.69 kB / 0.5723 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3918, allocations: 1.656 kB / 0.5723 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.392, allocations: 93.5 kB / 0.5724 GB, free: 28.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.592e-06/0.392, allocations: 0 / 0.5724 GB, free: 28.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003459/0.3924, allocations: 134.2 kB / 0.5725 GB, free: 28.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.3924, allocations: 105.2 kB / 0.5726 GB, free: 28.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.3927, allocations: 266.3 kB / 0.5729 GB, free: 28.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3927, allocations: 31.86 kB / 0.5729 GB, free: 28.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.3927, allocations: 117 kB / 0.573 GB, free: 28.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3928, allocations: 26.66 kB / 0.5731 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.3928, allocations: 25.16 kB / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.3929, allocations: 333 kB / 0.5734 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.393, allocations: 30.86 kB / 0.5734 GB, free: 28.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.323e-05/0.3931, allocations: 73.8 kB / 0.5735 GB, free: 28.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3932, allocations: 67.62 kB / 0.5736 GB, free: 28.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3932, allocations: 0 / 0.5736 GB, free: 28.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000204/0.3934, allocations: 117.8 kB / 0.5737 GB, free: 27.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3935, allocations: 4.812 kB / 0.5737 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.3935, allocations: 1.125 kB / 0.5737 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3935, allocations: 1.094 kB / 0.5737 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.3936, allocations: 14.5 kB / 0.5737 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3936, allocations: 1.375 kB / 0.5737 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.3937, allocations: 7.594 kB / 0.5737 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3937, allocations: 2.344 kB / 0.5737 GB, free: 27.97 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 ($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 9.836e-05/0.3938, allocations: 146.4 kB / 0.5739 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.3938, allocations: 15.5 kB / 0.5739 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.3939, allocations: 22.08 kB / 0.5739 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3939, allocations: 4.688 kB / 0.5739 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3939, allocations: 0 / 0.5739 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3939, allocations: 7.969 kB / 0.5739 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.394, allocations: 229.5 kB / 0.5741 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.394, allocations: 5.469 kB / 0.5741 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.3941, allocations: 6.109 kB / 0.5741 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3941, allocations: 0.5312 kB / 0.5741 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3941, allocations: 8.812 kB / 0.5741 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3941, allocations: 2.094 kB / 0.5741 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3941, allocations: 400 / 0.5741 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3944, allocations: 150.5 kB / 0.5743 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.3944, allocations: 96.5 kB / 0.5744 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.3944, allocations: 3.094 kB / 0.5744 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.3945, allocations: 3.594 kB / 0.5744 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3946, allocations: 14.42 kB / 0.5744 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3946, allocations: 8.844 kB / 0.5744 GB, free: 27.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.3947, allocations: 193.7 kB / 0.5746 GB, free: 27.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3948, allocations: 1.531 kB / 0.5746 GB, free: 27.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.395, allocations: 35.25 kB / 0.5746 GB, free: 27.25 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 (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.0009282/0.396, allocations: 416.4 kB / 0.575 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3962, allocations: 80.05 kB / 0.5751 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3962, allocations: 0 / 0.5751 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.3963, allocations: 32.55 kB / 0.5751 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3966, allocations: 41.69 kB / 0.5752 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.3971, allocations: 293.7 kB / 0.5754 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.3973, allocations: 0.7225 MB / 0.5762 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.114e-05/0.3974, allocations: 26.94 kB / 0.5762 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.3974, allocations: 18.73 kB / 0.5762 GB, free: 26.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3975, allocations: 1.219 kB / 0.5762 GB, free: 26.17 MB / 446.1 MB Notification: Performance of Templates: time 0.006492/0.404, allocations: 2.538 MB / 0.5787 GB, free: 25.93 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)