Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 107.6 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002519/0.002519, allocations: 210.4 kB / 19.42 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9418/0.9418, allocations: 144.9 MB / 453.8 MB, free: 1.086 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002977/0.002977, allocations: 65.77 kB / 0.6285 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1968, allocations: 87.83 MB / 0.7143 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003534/0.2003, allocations: 1.792 MB / 0.716 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.203, allocations: 1.264 MB / 0.7173 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.2031, allocations: 3.938 kB / 0.7173 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.2034, allocations: 59.73 kB / 0.7173 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.2038, allocations: 119.5 kB / 0.7174 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.2044, allocations: 198.3 kB / 0.7176 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.2046, allocations: 159.5 kB / 0.7178 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2047, allocations: 13.44 kB / 0.7178 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.2049, allocations: 67.75 kB / 0.7178 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.205, allocations: 75.61 kB / 0.7179 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.205, allocations: 8 kB / 0.7179 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.2052, allocations: 79.94 kB / 0.718 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.2053, allocations: 35.84 kB / 0.718 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.2054, allocations: 63.55 kB / 0.7181 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.2057, allocations: 215.2 kB / 0.7183 GB, free: 14.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2057, allocations: 0 / 0.7183 GB, free: 14.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2057, allocations: 0 / 0.7183 GB, free: 14.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2057, allocations: 0 / 0.7183 GB, free: 14.28 MB / 0.545 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.0008071/0.2066, allocations: 0.4942 MB / 0.7188 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2066, allocations: 12.03 kB / 0.7188 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.2067, allocations: 20.84 kB / 0.7188 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.2072, allocations: 259.9 kB / 0.7191 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.2072, allocations: 4.375 kB / 0.7191 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.2072, allocations: 8.125 kB / 0.7191 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.2074, allocations: 92.17 kB / 0.7192 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2075, allocations: 0 / 0.7192 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.2075, allocations: 4 kB / 0.7192 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.2075, allocations: 8 kB / 0.7192 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.2076, allocations: 31.97 kB / 0.7192 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.2082, allocations: 356.7 kB / 0.7195 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.2085, allocations: 78.67 kB / 0.7196 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.505e-05/0.2086, allocations: 32.84 kB / 0.7196 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.2086, allocations: 7.984 kB / 0.7197 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.2088, allocations: 83.33 kB / 0.7197 GB, free: 12.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.2088, allocations: 3.938 kB / 0.7197 GB, free: 12.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004689/0.2092, allocations: 141.6 kB / 0.7199 GB, free: 12.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.2093, allocations: 102.8 kB / 0.72 GB, free: 12.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.2097, allocations: 279.1 kB / 0.7202 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.2097, allocations: 33.7 kB / 0.7203 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.2099, allocations: 120.1 kB / 0.7204 GB, free: 11.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.2099, allocations: 27.81 kB / 0.7204 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.21, allocations: 21.72 kB / 0.7204 GB, free: 11.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.2102, allocations: 338.8 kB / 0.7208 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.2103, allocations: 23.98 kB / 0.7208 GB, free: 11.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.2104, allocations: 76.16 kB / 0.7209 GB, free: 11.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.2106, allocations: 69.69 kB / 0.7209 GB, free: 11.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2106, allocations: 0 / 0.7209 GB, free: 11.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002734/0.2109, allocations: 113.8 kB / 0.721 GB, free: 11.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2109, allocations: 8 kB / 0.721 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.2109, allocations: 0 / 0.721 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2109, allocations: 0 / 0.721 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.211, allocations: 15.98 kB / 0.7211 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.211, allocations: 8.094 kB / 0.7211 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2111, allocations: 11.89 kB / 0.7211 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.2111, allocations: 0 / 0.7211 GB, free: 11.17 MB / 0.545 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.0001531/0.2113, allocations: 149.8 kB / 0.7212 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.2113, allocations: 15.91 kB / 0.7212 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.2114, allocations: 21.39 kB / 0.7212 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.2114, allocations: 0 / 0.7212 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2114, allocations: 0 / 0.7212 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.2114, allocations: 7.938 kB / 0.7213 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.2116, allocations: 233.5 kB / 0.7215 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2116, allocations: 0 / 0.7215 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.2117, allocations: 4 kB / 0.7215 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2117, allocations: 4 kB / 0.7215 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2117, allocations: 0 / 0.7215 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2117, allocations: 7.938 kB / 0.7215 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2117, allocations: 0 / 0.7215 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.212, allocations: 148.9 kB / 0.7216 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.2121, allocations: 97 kB / 0.7217 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.2121, allocations: 7.984 kB / 0.7217 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.2122, allocations: 4 kB / 0.7217 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.2122, allocations: 11.92 kB / 0.7218 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.2122, allocations: 7.938 kB / 0.7218 GB, free: 10.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002485/0.2125, allocations: 208.6 kB / 0.722 GB, free: 10.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2125, allocations: 0 / 0.722 GB, free: 10.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002721/0.2128, allocations: 31.94 kB / 0.722 GB, free: 10.13 MB / 0.545 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.00175/0.2145, allocations: 429.7 kB / 0.7224 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.2148, allocations: 63.91 kB / 0.7225 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2148, allocations: 0 / 0.7225 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.2149, allocations: 31.98 kB / 0.7225 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.2153, allocations: 42.14 kB / 0.7225 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.216, allocations: 310.5 kB / 0.7228 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.2164, allocations: 0.7242 MB / 0.7235 GB, free: 8.652 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.15e-05/0.2165, allocations: 25.38 kB / 0.7236 GB, free: 8.629 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.2166, allocations: 23.42 kB / 0.7236 GB, free: 8.605 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.2166, allocations: 0 / 0.7236 GB, free: 8.605 MB / 0.545 GB Notification: Performance of Templates: time 0.007328/0.2239, allocations: 2.606 MB / 0.7261 GB, free: 6.023 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.917795032262802] Failed to read output from testmodel.py, exit status != 0: 0.23413348942995071 0.254715302 0.044721263000000004 Calling exit ...