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.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.001346/0.001346, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001496/0.001496, allocations: 189.8 kB / 22.23 MB, free: 5.105 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.486/1.486, allocations: 225.6 MB / 251 MB, free: 13.03 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.9737/0.9737, allocations: 145 MB / 451.2 MB, free: 5.438 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.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(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: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 60.5 kB / 0.6253 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2048, allocations: 86.72 MB / 0.71 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.004586/0.2094, allocations: 1.795 MB / 0.7118 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002238/0.2116, allocations: 1.127 MB / 0.7129 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.2117, allocations: 4 kB / 0.7129 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.2121, allocations: 59.67 kB / 0.7129 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.2124, allocations: 83.66 kB / 0.713 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.213, allocations: 229 kB / 0.7132 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.2133, allocations: 139.6 kB / 0.7134 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2134, allocations: 25.28 kB / 0.7134 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.2135, allocations: 63.72 kB / 0.7134 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.2137, allocations: 79.61 kB / 0.7135 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.2137, allocations: 4 kB / 0.7135 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.2139, allocations: 83.92 kB / 0.7136 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.214, allocations: 43.84 kB / 0.7136 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.2141, allocations: 51.67 kB / 0.7137 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.2145, allocations: 207.1 kB / 0.7139 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2145, allocations: 0 / 0.7139 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2145, allocations: 0 / 0.7139 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.2145, allocations: 4 kB / 0.7139 GB, free: 4.797 MB / 0.5294 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.0007985/0.2153, allocations: 426.9 kB / 0.7143 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2153, allocations: 8.031 kB / 0.7143 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.2154, allocations: 16.84 kB / 0.7143 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.2158, allocations: 191.2 kB / 0.7145 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2158, allocations: 4.375 kB / 0.7145 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.2158, allocations: 8.125 kB / 0.7145 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.216, allocations: 92.23 kB / 0.7146 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.216, allocations: 0 / 0.7146 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.216, allocations: 0 / 0.7146 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.2161, allocations: 7.984 kB / 0.7146 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.2162, allocations: 35.92 kB / 0.7146 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.2167, allocations: 327.7 kB / 0.715 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.2169, allocations: 90.69 kB / 0.715 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.217, allocations: 28.84 kB / 0.7151 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.217, allocations: 4 kB / 0.7151 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.2172, allocations: 79.38 kB / 0.7151 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.2172, allocations: 0 / 0.7151 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0003714/0.2176, allocations: 145.5 kB / 0.7153 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.2177, allocations: 106.8 kB / 0.7154 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.218, allocations: 263.6 kB / 0.7156 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.218, allocations: 25.7 kB / 0.7157 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.2181, allocations: 128 kB / 0.7158 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.2181, allocations: 15.86 kB / 0.7158 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.2182, allocations: 33.7 kB / 0.7158 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2183, allocations: 330.8 kB / 0.7162 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2184, allocations: 27.98 kB / 0.7162 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.2186, allocations: 72.2 kB / 0.7162 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.2187, allocations: 69.64 kB / 0.7163 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2187, allocations: 0 / 0.7163 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002329/0.219, allocations: 113.5 kB / 0.7164 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.219, allocations: 12.03 kB / 0.7164 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.219, allocations: 0 / 0.7164 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.219, allocations: 0 / 0.7164 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.2191, allocations: 15.98 kB / 0.7164 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2191, allocations: 0 / 0.7164 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.2192, allocations: 15.88 kB / 0.7165 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2192, allocations: 0 / 0.7165 GB, free: 1.918 MB / 0.5294 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.0001315/0.2193, allocations: 141.8 kB / 0.7166 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.2194, allocations: 23.89 kB / 0.7166 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.2197, allocations: 119.4 kB / 0.7167 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.2197, allocations: 8.031 kB / 0.7167 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2197, allocations: 0 / 0.7167 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2197, allocations: 3.938 kB / 0.7167 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.2199, allocations: 192.6 kB / 0.7169 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2199, allocations: 3.984 kB / 0.7169 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.2199, allocations: 8 kB / 0.7169 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2199, allocations: 0 / 0.7169 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2199, allocations: 4 kB / 0.7169 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2199, allocations: 4 kB / 0.7169 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2199, allocations: 0 / 0.7169 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.2202, allocations: 148.9 kB / 0.7171 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.2202, allocations: 15.91 kB / 0.7171 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.2203, allocations: 7.984 kB / 0.7171 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.665e-05/0.2203, allocations: 8 kB / 0.7171 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.2204, allocations: 3.984 kB / 0.7171 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2204, allocations: 11.94 kB / 0.7171 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001903/0.2206, allocations: 191.2 kB / 0.7173 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2206, allocations: 3.938 kB / 0.7173 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002448/0.2208, allocations: 35.92 kB / 0.7174 GB, free: 0.918 MB / 0.5294 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.001564/0.2224, allocations: 421 kB / 0.7178 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.2226, allocations: 67.91 kB / 0.7178 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2226, allocations: 64 / 0.7178 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.721e-05/0.2227, allocations: 39.97 kB / 0.7179 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.2231, allocations: 43.5 kB / 0.7179 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.2237, allocations: 290.7 kB / 0.7182 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.2241, allocations: 0.724 MB / 0.7189 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.604e-05/0.2242, allocations: 29.38 kB / 0.7189 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.2243, allocations: 15.44 kB / 0.7189 GB, free: 15.41 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2243, allocations: 0 / 0.7189 GB, free: 15.41 MB / 0.545 GB Notification: Performance of Templates: time 0.006572/0.2308, allocations: 2.601 MB / 0.7215 GB, free: 12.83 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.872260929085314] Failed to read output from testmodel.py, exit status != 0: 0.23848455492407084 0.25455967100000004 0.036879077 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3cac2097b0>