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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 172.8 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4707/0.4707, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.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: 223.2 MB / 348.4 MB, free: 5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.000917, allocations: 98.05 kB / 420.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004811, allocations: 16 kB / 0.4901 GB, free: 8.035 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3689, allocations: 71.03 MB / 0.5595 GB, free: 43.67 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.5015, allocations: 104.6 MB / 0.6616 GB, free: 4.906 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.5018, allocations: 79.95 kB / 0.6617 GB, free: 4.828 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.5171, allocations: 5.554 MB / 0.6671 GB, free: 15.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5171, allocations: 0 / 0.6671 GB, free: 15.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.5171, allocations: 8 kB / 0.6671 GB, free: 15.27 MB / 490.7 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.0007258/0.5179, allocations: 496.4 kB / 0.6676 GB, free: 14.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5179, allocations: 8.031 kB / 0.6676 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.518, allocations: 16.75 kB / 0.6676 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.5185, allocations: 268.7 kB / 0.6679 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.5185, allocations: 8.375 kB / 0.6679 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.5186, allocations: 384 / 0.6679 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.5188, allocations: 108.7 kB / 0.668 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5188, allocations: 192 / 0.668 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.5188, allocations: 7.938 kB / 0.668 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.5189, allocations: 0 / 0.668 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.519, allocations: 31.98 kB / 0.668 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.5195, allocations: 380.6 kB / 0.6684 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.5198, allocations: 94.66 kB / 0.6685 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.5199, allocations: 28.84 kB / 0.6685 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.5199, allocations: 4 kB / 0.6685 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.5201, allocations: 83.41 kB / 0.6686 GB, free: 13.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.5201, allocations: 4 kB / 0.6686 GB, free: 13.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003711/0.5205, allocations: 145.4 kB / 0.6687 GB, free: 13.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.5205, allocations: 102.8 kB / 0.6688 GB, free: 13.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.5208, allocations: 263 kB / 0.6691 GB, free: 13.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5209, allocations: 29.7 kB / 0.6691 GB, free: 13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.521, allocations: 116.1 kB / 0.6692 GB, free: 12.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.521, allocations: 23.64 kB / 0.6692 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.521, allocations: 4 kB / 0.6692 GB, free: 12.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5212, allocations: 330.8 kB / 0.6696 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.5213, allocations: 35.92 kB / 0.6696 GB, free: 12.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.865e-05/0.5214, allocations: 72.27 kB / 0.6697 GB, free: 12.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.5215, allocations: 69.69 kB / 0.6697 GB, free: 12.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5215, allocations: 0 / 0.6697 GB, free: 12.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002294/0.5218, allocations: 121.4 kB / 0.6698 GB, free: 12.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5218, allocations: 4 kB / 0.6698 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5218, allocations: 400 / 0.6698 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5218, allocations: 4 kB / 0.6699 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.5219, allocations: 11.98 kB / 0.6699 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5219, allocations: 4 kB / 0.6699 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.522, allocations: 11.94 kB / 0.6699 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.522, allocations: 0 / 0.6699 GB, free: 12.17 MB / 490.7 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.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,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.00014/0.5222, allocations: 152 kB / 0.67 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.5222, allocations: 19.8 kB / 0.67 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.5225, allocations: 139 kB / 0.6702 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5225, allocations: 3.984 kB / 0.6702 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5225, allocations: 0 / 0.6702 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.5225, allocations: 4 kB / 0.6702 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.5228, allocations: 233.5 kB / 0.6704 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5228, allocations: 0 / 0.6704 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.5228, allocations: 8 kB / 0.6704 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5228, allocations: 4 kB / 0.6704 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.5229, allocations: 11.92 kB / 0.6704 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5229, allocations: 0 / 0.6704 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5229, allocations: 0 / 0.6704 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.5231, allocations: 148.8 kB / 0.6706 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.5232, allocations: 104.9 kB / 0.6707 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.5232, allocations: 0 / 0.6707 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.647e-05/0.5233, allocations: 8 kB / 0.6707 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.5234, allocations: 11.98 kB / 0.6707 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.5234, allocations: 4 kB / 0.6707 GB, free: 11.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.5236, allocations: 196.1 kB / 0.6709 GB, free: 11.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5236, allocations: 0 / 0.6709 GB, free: 11.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.5239, allocations: 55.83 kB / 0.6709 GB, free: 10.98 MB / 490.7 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.001001/0.5249, allocations: 441.2 kB / 0.6714 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.5251, allocations: 91.88 kB / 0.6714 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5252, allocations: 0 / 0.6714 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.57e-05/0.5253, allocations: 39.92 kB / 0.6715 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.5256, allocations: 41.92 kB / 0.6715 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.5262, allocations: 330.1 kB / 0.6718 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.5265, allocations: 0.7165 MB / 0.6725 GB, free: 9.445 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.446e-05/0.5266, allocations: 29.38 kB / 0.6726 GB, free: 9.418 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.5267, allocations: 23.42 kB / 0.6726 GB, free: 9.395 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5267, allocations: 3.938 kB / 0.6726 GB, free: 9.391 MB / 490.7 MB Notification: Performance of Templates: time 0.005547/0.5322, allocations: 2.514 MB / 0.675 GB, free: 6.898 MB / 490.7 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)