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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 112.6 kB / 17.33 MB, free: 5.008 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.0012/0.0012, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.468/1.468, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.923/0.923, allocations: 128.4 MB / 426.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 66.02 kB / 0.5912 GB, free: 21.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.199, allocations: 83.26 MB / 0.6725 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00353/0.2025, allocations: 1.775 MB / 0.6742 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2046, allocations: 1.107 MB / 0.6753 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.2047, allocations: 7.938 kB / 0.6753 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.205, allocations: 55.73 kB / 0.6753 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.2053, allocations: 83.66 kB / 0.6754 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.2059, allocations: 222.2 kB / 0.6756 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.2061, allocations: 151.6 kB / 0.6758 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2062, allocations: 25.03 kB / 0.6758 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2064, allocations: 55.78 kB / 0.6759 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.2065, allocations: 75.67 kB / 0.6759 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.2065, allocations: 8 kB / 0.6759 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.2067, allocations: 71.94 kB / 0.676 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.19e-05/0.2067, allocations: 35.84 kB / 0.676 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.2068, allocations: 63.59 kB / 0.6761 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.2072, allocations: 199.2 kB / 0.6763 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2072, allocations: 12 kB / 0.6763 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2072, allocations: 0 / 0.6763 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2072, allocations: 0 / 0.6763 GB, free: 15.95 MB / 0.5137 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.0007731/0.208, allocations: 496.1 kB / 0.6768 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.208, allocations: 12.03 kB / 0.6768 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.2081, allocations: 20.8 kB / 0.6768 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.2085, allocations: 249 kB / 0.677 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.2085, allocations: 8.375 kB / 0.6771 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.2085, allocations: 8.125 kB / 0.6771 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.2088, allocations: 100.2 kB / 0.6772 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2088, allocations: 3.938 kB / 0.6772 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2088, allocations: 0 / 0.6772 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.2088, allocations: 3.984 kB / 0.6772 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.2089, allocations: 35.98 kB / 0.6772 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.2095, allocations: 352.7 kB / 0.6775 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.2097, allocations: 94.69 kB / 0.6776 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.2098, allocations: 28.84 kB / 0.6777 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2098, allocations: 0 / 0.6777 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.21, allocations: 87.34 kB / 0.6777 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.21, allocations: 4 kB / 0.6777 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003798/0.2104, allocations: 137.5 kB / 0.6779 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.2105, allocations: 106.8 kB / 0.678 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.2108, allocations: 266.8 kB / 0.6782 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.2108, allocations: 25.7 kB / 0.6783 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.2109, allocations: 124 kB / 0.6784 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.2109, allocations: 19.83 kB / 0.6784 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.211, allocations: 29.7 kB / 0.6784 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2111, allocations: 338.8 kB / 0.6787 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.2112, allocations: 23.98 kB / 0.6788 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.2113, allocations: 64.27 kB / 0.6788 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2114, allocations: 69.64 kB / 0.6789 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2114, allocations: 0 / 0.6789 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002243/0.2117, allocations: 125.5 kB / 0.679 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2117, allocations: 4 kB / 0.679 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2117, allocations: 4 kB / 0.679 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2117, allocations: 0 / 0.679 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.4e-05/0.2118, allocations: 8 kB / 0.679 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2118, allocations: 4 kB / 0.679 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.2119, allocations: 16.11 kB / 0.679 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2119, allocations: 0 / 0.679 GB, free: 12.86 MB / 0.5137 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.0001484/0.212, allocations: 154.4 kB / 0.6792 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.2121, allocations: 15.91 kB / 0.6792 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.2124, allocations: 127 kB / 0.6793 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.2124, allocations: 0 / 0.6793 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2124, allocations: 4 kB / 0.6793 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.2124, allocations: 3.938 kB / 0.6793 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.2126, allocations: 217.5 kB / 0.6795 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2126, allocations: 0 / 0.6795 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.2126, allocations: 4 kB / 0.6795 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2126, allocations: 4 kB / 0.6796 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.2127, allocations: 11.98 kB / 0.6796 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2127, allocations: 0 / 0.6796 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2127, allocations: 0 / 0.6796 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.2129, allocations: 149.3 kB / 0.6797 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.213, allocations: 93.02 kB / 0.6798 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.213, allocations: 4 kB / 0.6798 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.459e-05/0.2131, allocations: 4 kB / 0.6798 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.2131, allocations: 11.98 kB / 0.6798 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2132, allocations: 7.938 kB / 0.6798 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001988/0.2134, allocations: 200.4 kB / 0.68 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2134, allocations: 0 / 0.68 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002667/0.2136, allocations: 35.88 kB / 0.68 GB, free: 11.74 MB / 0.5137 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.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * 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.001619/0.2152, allocations: 418.2 kB / 0.6804 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.2156, allocations: 75.89 kB / 0.6805 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2156, allocations: 0 / 0.6805 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.2157, allocations: 35.97 kB / 0.6806 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.216, allocations: 47.05 kB / 0.6806 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/0.2169, allocations: 298.7 kB / 0.6809 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.2174, allocations: 0.724 MB / 0.6816 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.799e-05/0.2175, allocations: 21.39 kB / 0.6816 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.2175, allocations: 23.42 kB / 0.6816 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.2175, allocations: 0 / 0.6816 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.007355/0.2249, allocations: 2.563 MB / 0.6841 GB, free: 7.672 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (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) [Timeout 480]