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.001241/0.001241, allocations: 82.64 kB / 19.94 MB, free: 1.777 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.001486/0.001486, allocations: 163.9 kB / 23.22 MB, free: 4.902 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.381/1.381, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 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.8893/0.8893, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5547 GB, free: 2.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.014e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001478/0.001498, allocations: 0.6054 MB / 0.5553 GB, free: 2.039 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.002913, allocations: 1.135 MB / 0.5564 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.002952, allocations: 8 kB / 0.5564 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 7.456e-05/0.003026, allocations: 3.938 kB / 0.5564 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 2.121e-05/0.003047, allocations: 4 kB / 0.5564 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.003472, allocations: 125.1 kB / 0.5565 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.003626, allocations: 91.81 kB / 0.5566 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.258e-05/0.003689, allocations: 0 / 0.5566 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.078e-05/0.00377, allocations: 55.89 kB / 0.5566 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.003854, allocations: 23.95 kB / 0.5567 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.003878, allocations: 8 kB / 0.5567 GB, free: 0.582 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.276e-05/0.003941, allocations: 27.98 kB / 0.5567 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.003985, allocations: 7.984 kB / 0.5567 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.004049, allocations: 31.91 kB / 0.5567 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.004219, allocations: 107.7 kB / 0.5568 GB, free: 420 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004221, allocations: 0 / 0.5568 GB, free: 420 kB / 462.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004222, allocations: 0 / 0.5568 GB, free: 420 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004225, allocations: 0 / 0.5568 GB, free: 420 kB / 462.1 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.0004187/0.004643, allocations: 300 kB / 0.5571 GB, free: 80 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.004675, allocations: 12.61 kB / 0.5571 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.004715, allocations: 8.922 kB / 0.5571 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.004889, allocations: 129.7 kB / 0.5573 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.004899, allocations: 4.375 kB / 0.5573 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.004923, allocations: 8.375 kB / 0.5573 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.005017, allocations: 42.25 kB / 0.5573 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.005025, allocations: 4.188 kB / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.005034, allocations: 4.359 kB / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.005038, allocations: 384 / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.037e-05/0.005078, allocations: 19.88 kB / 0.5574 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.005386, allocations: 228.5 kB / 0.5576 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.253e-05/0.005428, allocations: 26.52 kB / 0.5576 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.005446, allocations: 8.859 kB / 0.5576 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-06/0.005449, allocations: 0 / 0.5576 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.2e-05/0.005541, allocations: 67.33 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.005543, allocations: 0 / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001756/0.005718, allocations: 65.64 kB / 0.5577 GB, free: 15.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.00576, allocations: 51.41 kB / 0.5578 GB, free: 15.31 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.005848, allocations: 109.8 kB / 0.5579 GB, free: 15.19 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.005876, allocations: 29.7 kB / 0.5579 GB, free: 15.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.00594, allocations: 96.06 kB / 0.558 GB, free: 15.06 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-06/0.005947, allocations: 4 kB / 0.558 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.006008, allocations: 29.7 kB / 0.558 GB, free: 15.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.006141, allocations: 322.8 kB / 0.5583 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.006243, allocations: 61.67 kB / 0.5584 GB, free: 14.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.006341, allocations: 76.27 kB / 0.5585 GB, free: 14.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.006447, allocations: 76.27 kB / 0.5585 GB, free: 14.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.006449, allocations: 0 / 0.5585 GB, free: 14.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002761/0.006725, allocations: 188.9 kB / 0.5587 GB, free: 14.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.006759, allocations: 33.7 kB / 0.5588 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.006762, allocations: 4.25 kB / 0.5588 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.006778, allocations: 4.094 kB / 0.5588 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.204e-05/0.00679, allocations: 0 / 0.5588 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.006799, allocations: 8 kB / 0.5588 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.006997, allocations: 23.97 kB / 0.5588 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.007019, allocations: 11.98 kB / 0.5588 GB, free: 14.16 MB / 478.1 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.956e-05/0.007108, allocations: 114.9 kB / 0.5589 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.00712, allocations: 11.88 kB / 0.5589 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.007139, allocations: 8 kB / 0.5589 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.007141, allocations: 4.234 kB / 0.5589 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.007145, allocations: 3.984 kB / 0.5589 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.007151, allocations: 3.984 kB / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.007252, allocations: 113.3 kB / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.007253, allocations: 0 / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-06/0.007259, allocations: 0 / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.007262, allocations: 3.938 kB / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.007267, allocations: 4 kB / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007268, allocations: 0 / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007269, allocations: 0 / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.007376, allocations: 81.06 kB / 0.5591 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.007381, allocations: 4 kB / 0.5591 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.007395, allocations: 7.922 kB / 0.5592 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.333e-05/0.007409, allocations: 0 / 0.5592 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.00743, allocations: 7.938 kB / 0.5592 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.007434, allocations: 0 / 0.5592 GB, free: 13.74 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.007491, allocations: 87.27 kB / 0.5592 GB, free: 13.65 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007491, allocations: 0 / 0.5592 GB, free: 13.65 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002018/0.007692, allocations: 19.94 kB / 0.5593 GB, free: 13.63 MB / 478.1 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.0001169/0.007809, allocations: 95.25 kB / 0.5594 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.008041, allocations: 149 kB / 0.5595 GB, free: 13.37 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008042, allocations: 0 / 0.5595 GB, free: 13.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/0.008067, allocations: 8 kB / 0.5595 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.008245, allocations: 11.98 kB / 0.5595 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.008506, allocations: 123.6 kB / 0.5596 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.986e-05/0.008566, allocations: 67.3 kB / 0.5597 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.492e-05/0.00858, allocations: 7.938 kB / 0.5597 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.008598, allocations: 8.688 kB / 0.5597 GB, free: 13.1 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.008599, allocations: 4 kB / 0.5597 GB, free: 13.09 MB / 478.1 MB Notification: Performance of Templates: time 0.003548/0.01215, allocations: 1.156 MB / 0.5608 GB, free: 11.97 MB / 478.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.004213575273752] Failed to read output from testmodel.py, exit status != 0: 0.019990410655736923 0.034000022000000005 0.026853507000000002 Calling exit ...