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.001091/0.001091, allocations: 92.22 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001045/0.001045, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 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 0.9009/0.9009, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.7069/0.7069, allocations: 115 MB / 375.7 MB, free: 7.617 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 1.203 kB / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.333e-05, allocations: 6.781 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001416/0.00145, allocations: 0.6198 MB / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.002756, allocations: 1.162 MB / 483.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.002807, allocations: 1.406 kB / 483.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.002916, allocations: 7.172 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.182e-05/0.002948, allocations: 5.594 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.003457, allocations: 128.1 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.0036, allocations: 82.89 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.293e-05/0.003683, allocations: 9.5 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.003757, allocations: 46.48 kB / 483.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.465e-05/0.003851, allocations: 26.28 kB / 483.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.003876, allocations: 7.969 kB / 483.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.003938, allocations: 24.39 kB / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.003992, allocations: 12.16 kB / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.004046, allocations: 28.67 kB / 483.7 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004196, allocations: 84.81 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004199, allocations: 0 / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004201, allocations: 0.625 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004205, allocations: 0 / 483.7 MB, free: 10.52 MB / 410.7 MB 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.0003558/0.004561, allocations: 403.2 kB / 484.1 MB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.0046, allocations: 9.375 kB / 484.1 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.00466, allocations: 13.91 kB / 484.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.0048, allocations: 127 kB / 484.3 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.004814, allocations: 8.422 kB / 484.3 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.004832, allocations: 5.438 kB / 484.3 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.088e-05/0.004913, allocations: 44.08 kB / 484.3 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.00492, allocations: 0.9375 kB / 484.3 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.004929, allocations: 5.609 kB / 484.3 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.004938, allocations: 3.562 kB / 484.3 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.004957, allocations: 8.531 kB / 484.4 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.005213, allocations: 289.3 kB / 484.6 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.948e-05/0.005252, allocations: 30.44 kB / 484.7 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.005265, allocations: 12.3 kB / 484.7 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-06/0.005269, allocations: 0.8125 kB / 484.7 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.332e-05/0.005352, allocations: 66.88 kB / 484.7 MB, free: 9.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.005354, allocations: 4.438 kB / 484.8 MB, free: 9.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001671/0.005521, allocations: 59.19 kB / 484.8 MB, free: 9.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.005547, allocations: 55.95 kB / 484.9 MB, free: 9.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.005775, allocations: 170 kB / 485 MB, free: 25.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.005789, allocations: 26.98 kB / 485.1 MB, free: 25.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.005841, allocations: 139.4 kB / 485.2 MB, free: 25.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.358e-06/0.00585, allocations: 5.391 kB / 485.2 MB, free: 25.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.005904, allocations: 39.67 kB / 485.2 MB, free: 25.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.006026, allocations: 497.2 kB / 485.7 MB, free: 24.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.006098, allocations: 58.38 kB / 485.8 MB, free: 24.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.006166, allocations: 81.3 kB / 485.9 MB, free: 24.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.513e-05/0.006251, allocations: 85.55 kB / 485.9 MB, free: 24.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.006253, allocations: 0 / 485.9 MB, free: 24.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002279/0.006481, allocations: 177.2 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.006514, allocations: 33.17 kB / 486.1 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.006519, allocations: 1.312 kB / 486.1 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.006536, allocations: 1.125 kB / 486.2 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.007e-05/0.006556, allocations: 6.984 kB / 486.2 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.006561, allocations: 1.25 kB / 486.2 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.006713, allocations: 23.95 kB / 486.2 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.006731, allocations: 11.69 kB / 486.2 MB, free: 24.21 MB / 426.7 MB 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 8.053e-05/0.006812, allocations: 166 kB / 486.4 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.006823, allocations: 7.219 kB / 486.4 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.006848, allocations: 5.094 kB / 486.4 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.00685, allocations: 1.5 kB / 486.4 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006853, allocations: 1 kB / 486.4 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006856, allocations: 0 / 486.4 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.978e-05/0.006926, allocations: 126.4 kB / 486.5 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006927, allocations: 0.7188 kB / 486.5 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-06/0.006933, allocations: 1.156 kB / 486.5 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.006937, allocations: 4.469 kB / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.006944, allocations: 2.438 kB / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006946, allocations: 0 / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.006947, allocations: 1.031 kB / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.007047, allocations: 94.17 kB / 486.6 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.007055, allocations: 3.438 kB / 486.6 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.007068, allocations: 9.062 kB / 486.6 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.00708, allocations: 0 / 486.6 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.007107, allocations: 8.375 kB / 486.6 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.007114, allocations: 6.312 kB / 486.6 MB, free: 23.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.256e-05/0.007156, allocations: 123.8 kB / 486.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007156, allocations: 1.094 kB / 486.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.007375, allocations: 14.66 kB / 486.8 MB, free: 23.66 MB / 426.7 MB 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.0001374/0.007513, allocations: 102.3 kB / 486.9 MB, free: 23.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.007688, allocations: 142 kB / 487 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.00769, allocations: 0 / 487 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.007714, allocations: 21.41 kB / 487 MB, free: 23.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.007925, allocations: 9.109 kB / 487 MB, free: 23.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.008179, allocations: 127.6 kB / 487.2 MB, free: 23.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.437e-05/0.008203, allocations: 58.8 kB / 487.2 MB, free: 23.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.074e-05/0.008224, allocations: 2.719 kB / 487.2 MB, free: 23.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.00824, allocations: 9.656 kB / 487.2 MB, free: 23.23 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.00824, allocations: 1.875 kB / 487.2 MB, free: 23.23 MB / 426.7 MB Notification: Performance of Templates: time 0.003626/0.01187, allocations: 1.274 MB / 488.5 MB, free: 23.13 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6104206750169396]