Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001374/0.001374, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001472/0.001472, allocations: 218 kB / 22.99 MB, free: 4.973 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9778/0.9778, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: IBPSA 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.002059/0.002059, allocations: 67.27 kB / 0.6415 GB, free: 9.609 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.214, allocations: 89.17 MB / 0.7286 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002072/0.2161, allocations: 0.5958 MB / 0.7292 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2177, allocations: 1.132 MB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.2178, allocations: 0 / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.2179, allocations: 3.938 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.732e-05/0.2179, allocations: 11.98 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.2184, allocations: 122.8 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.2186, allocations: 91.81 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.2187, allocations: 7.922 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.2187, allocations: 35.92 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.2188, allocations: 29.7 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.2189, allocations: 8 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.019e-05/0.2189, allocations: 23.97 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.219, allocations: 11.94 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.219, allocations: 31.92 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.2192, allocations: 83.78 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2192, allocations: 3.938 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2192, allocations: 0 / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.2192, allocations: 0 / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004714/0.2197, allocations: 311.9 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2197, allocations: 8.031 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.2198, allocations: 8.891 kB / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.22, allocations: 126.5 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.22, allocations: 4.375 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.22, allocations: 20.34 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2201, allocations: 42.25 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2201, allocations: 192 / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2201, allocations: 3.938 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2201, allocations: 0 / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.2202, allocations: 12 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.2205, allocations: 236.5 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.879e-05/0.2205, allocations: 22.52 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.2206, allocations: 12.86 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.2206, allocations: 0 / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.2207, allocations: 71.33 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.2207, allocations: 0 / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001936/0.2209, allocations: 61.67 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.221, allocations: 59.39 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/0.2211, allocations: 109.8 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.2211, allocations: 29.7 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.2212, allocations: 84.14 kB / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.2212, allocations: 3.953 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.2212, allocations: 37.7 kB / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2214, allocations: 314.8 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.2215, allocations: 61.69 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.677e-05/0.2216, allocations: 76.27 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2217, allocations: 88.14 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2217, allocations: 0 / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002622/0.2219, allocations: 173 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.222, allocations: 39.58 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.222, allocations: 0 / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.222, allocations: 4 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-05/0.222, allocations: 8.078 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.222, allocations: 7.922 kB / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.2222, allocations: 31.86 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.2223, allocations: 4 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001037/0.2224, allocations: 121.8 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.2224, allocations: 3.984 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.2224, allocations: 11.94 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2224, allocations: 0 / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2224, allocations: 320 / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2224, allocations: 4 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.2225, allocations: 117.5 kB / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2225, allocations: 0 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/0.2225, allocations: 0 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.2225, allocations: 0 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.2225, allocations: 3.984 kB / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2225, allocations: 0 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2225, allocations: 7.938 kB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.2227, allocations: 84.98 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.2227, allocations: 7.953 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.2227, allocations: 0 / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.286e-05/0.2227, allocations: 4 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.2227, allocations: 4 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.2227, allocations: 4 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.2228, allocations: 83.27 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2228, allocations: 0 / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002038/0.223, allocations: 20 kB / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000137/0.2231, allocations: 103.2 kB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.2233, allocations: 137 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2233, allocations: 192 / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-05/0.2234, allocations: 12 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.2236, allocations: 11.92 kB / 0.7334 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.2239, allocations: 130.2 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.2239, allocations: 67.28 kB / 0.7336 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.224, allocations: 7.984 kB / 0.7336 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.224, allocations: 7.438 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.224, allocations: 0 / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.004146/0.2281, allocations: 1.176 MB / 0.7348 GB, free: 9.852 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.007254503667355] Failed to read output from testmodel.py, exit status != 0: 0.23724787309765816 0.25251358599999996 0.03001151099999994 Calling exit ...