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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 117.2 kB / 17.81 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 189.5 kB / 20.74 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8495/0.8495, allocations: 128.4 MB / 432.4 MB, free: 13.26 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.89 kB / 0.5987 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.384, allocations: 83.26 MB / 0.68 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002599/0.3866, allocations: 1.777 MB / 0.6818 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.388, allocations: 1.122 MB / 0.6829 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.3881, allocations: 1.25 kB / 0.6829 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.3883, allocations: 63.02 kB / 0.6829 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.3886, allocations: 78.3 kB / 0.683 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.3891, allocations: 225.3 kB / 0.6832 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.3893, allocations: 145.6 kB / 0.6833 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3894, allocations: 15.86 kB / 0.6834 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.85e-05/0.3895, allocations: 68.47 kB / 0.6834 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3896, allocations: 69.34 kB / 0.6835 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.3896, allocations: 6.469 kB / 0.6835 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3897, allocations: 76.91 kB / 0.6836 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.3898, allocations: 42.97 kB / 0.6836 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.3899, allocations: 55.14 kB / 0.6837 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.3901, allocations: 198.6 kB / 0.6839 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3902, allocations: 1.188 kB / 0.6839 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3902, allocations: 0 / 0.6839 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3902, allocations: 3.938 kB / 0.6839 GB, free: 4.094 MB / 0.4981 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.0006867/0.3908, allocations: 498.4 kB / 0.6843 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3909, allocations: 10.06 kB / 0.6843 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.391, allocations: 19.73 kB / 0.6844 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.3913, allocations: 249 kB / 0.6846 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3913, allocations: 2.75 kB / 0.6846 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3913, allocations: 11.45 kB / 0.6846 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.3916, allocations: 98.73 kB / 0.6847 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3916, allocations: 1.094 kB / 0.6847 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3916, allocations: 5.156 kB / 0.6847 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.3916, allocations: 1.375 kB / 0.6847 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3917, allocations: 33.75 kB / 0.6848 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.3922, allocations: 357.2 kB / 0.6851 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.3925, allocations: 85.84 kB / 0.6852 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.3925, allocations: 29.84 kB / 0.6852 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3926, allocations: 2.375 kB / 0.6852 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.3928, allocations: 90.84 kB / 0.6853 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.955e-06/0.3928, allocations: 3.984 kB / 0.6853 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004066/0.3932, allocations: 140.6 kB / 0.6854 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.3932, allocations: 108.1 kB / 0.6855 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.3935, allocations: 264 kB / 0.6858 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3935, allocations: 30.86 kB / 0.6858 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.3936, allocations: 115.8 kB / 0.6859 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.3936, allocations: 23.8 kB / 0.6859 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.3936, allocations: 22.88 kB / 0.686 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.3937, allocations: 336.2 kB / 0.6863 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-05/0.3938, allocations: 33.27 kB / 0.6863 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/0.3939, allocations: 69.16 kB / 0.6864 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.394, allocations: 70.25 kB / 0.6865 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.394, allocations: 0 / 0.6865 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002182/0.3942, allocations: 120.1 kB / 0.6866 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3943, allocations: 5.219 kB / 0.6866 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3943, allocations: 5.281 kB / 0.6866 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3943, allocations: 1.094 kB / 0.6866 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3944, allocations: 14.05 kB / 0.6866 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3944, allocations: 1.344 kB / 0.6866 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.3945, allocations: 11.58 kB / 0.6866 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.3945, allocations: 6.406 kB / 0.6866 GB, free: 1.582 MB / 0.4981 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.0001202/0.3946, allocations: 141 kB / 0.6867 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.3946, allocations: 15.66 kB / 0.6868 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.3947, allocations: 23.48 kB / 0.6868 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.3947, allocations: 2.719 kB / 0.6868 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3947, allocations: 0 / 0.6868 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3947, allocations: 3.938 kB / 0.6868 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.3948, allocations: 219.4 kB / 0.687 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3948, allocations: 0 / 0.687 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.3949, allocations: 13.05 kB / 0.687 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3949, allocations: 1.25 kB / 0.687 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3949, allocations: 4.781 kB / 0.687 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3949, allocations: 1.25 kB / 0.687 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3949, allocations: 0 / 0.687 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.3951, allocations: 159.4 kB / 0.6872 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.3952, allocations: 94.58 kB / 0.6873 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.3952, allocations: 1.156 kB / 0.6873 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/0.3953, allocations: 6.203 kB / 0.6873 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.3953, allocations: 8.5 kB / 0.6873 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3953, allocations: 15.48 kB / 0.6873 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001632/0.3955, allocations: 199.6 kB / 0.6875 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.3955, allocations: 0 / 0.6875 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002651/0.3958, allocations: 32.58 kB / 0.6875 GB, free: 0.793 MB / 0.4981 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.001455/0.3972, allocations: 418.6 kB / 0.6879 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3974, allocations: 70.14 kB / 0.688 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3974, allocations: 1.188 kB / 0.688 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.3975, allocations: 30.23 kB / 0.688 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3978, allocations: 51.33 kB / 0.6881 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.3983, allocations: 328.9 kB / 0.6884 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3986, allocations: 0.7216 MB / 0.6891 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.3986, allocations: 22.16 kB / 0.6891 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.3986, allocations: 0 / 0.6891 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.005077/0.4037, allocations: 2.62 MB / 0.6917 GB, free: 14.21 MB / 0.5137 GB " [Timeout remaining time 660] 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] [Calling sys.exit(0), Time elapsed: 8.336953083984554] Failed to read output from testmodel.py, exit status != 0: 0.4118633179459721 0.42449353100000004 0.031527866 Calling exit ...