Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0008367/0.0008367, allocations: 84.44 kB / 20.7 MB, free: 3.871 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.000832/0.000832, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8808/0.8808, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.5332/0.5332, allocations: 114 MB / 374.7 MB, free: 8.719 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.5554 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.154e-05, allocations: 4.391 kB / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001083/0.001105, allocations: 0.6639 MB / 0.5561 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.0021, allocations: 0.847 MB / 0.5569 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.002142, allocations: 0 / 0.5569 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.319e-05/0.002225, allocations: 3.938 kB / 0.5569 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 1.718e-05/0.002243, allocations: 8 kB / 0.5569 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.002388, allocations: 19.86 kB / 0.5569 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.068e-05/0.002459, allocations: 35.84 kB / 0.557 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.002557, allocations: 12 kB / 0.557 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.512e-05/0.002613, allocations: 19.98 kB / 0.557 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.002664, allocations: 11.97 kB / 0.557 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.002685, allocations: 4 kB / 0.557 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.002693, allocations: 0 / 0.557 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.002741, allocations: 15.92 kB / 0.557 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.002767, allocations: 11.98 kB / 0.557 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.399e-05/0.002851, allocations: 43.81 kB / 0.5571 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.002853, allocations: 0 / 0.5571 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.62e-07/0.002853, allocations: 0 / 0.5571 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.002857, allocations: 0 / 0.5571 GB, free: 0.5781 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003296/0.003187, allocations: 274.3 kB / 0.5573 GB, free: 284 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.00322, allocations: 8.625 kB / 0.5573 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.003247, allocations: 4.938 kB / 0.5573 GB, free: 272 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.003361, allocations: 125.6 kB / 0.5575 GB, free: 120 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.003377, allocations: 384 / 0.5575 GB, free: 120 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.003387, allocations: 4.375 kB / 0.5575 GB, free: 116 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.003523, allocations: 62.22 kB / 0.5575 GB, free: 48 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.00353, allocations: 192 / 0.5575 GB, free: 48 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.003538, allocations: 384 / 0.5575 GB, free: 48 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.003543, allocations: 8.375 kB / 0.5575 GB, free: 40 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.00365, allocations: 47.94 kB / 0.5576 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.003893, allocations: 212.4 kB / 0.5578 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.003972, allocations: 46.48 kB / 0.5578 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.004017, allocations: 24.91 kB / 0.5579 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.004031, allocations: 3.938 kB / 0.5579 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.004051, allocations: 42.55 kB / 0.5579 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.004052, allocations: 0 / 0.5579 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002131/0.004265, allocations: 85.58 kB / 0.558 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.004293, allocations: 55.41 kB / 0.558 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.00435, allocations: 101.8 kB / 0.5581 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.004359, allocations: 29.7 kB / 0.5582 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.004395, allocations: 92.03 kB / 0.5582 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.004406, allocations: 128 / 0.5582 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.00443, allocations: 21.72 kB / 0.5583 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.004504, allocations: 314.8 kB / 0.5586 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.252e-05/0.004547, allocations: 19.98 kB / 0.5586 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.004582, allocations: 15.97 kB / 0.5586 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.004659, allocations: 44.83 kB / 0.5586 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00466, allocations: 0 / 0.5586 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.004761, allocations: 81.55 kB / 0.5587 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.004771, allocations: 4 kB / 0.5587 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004775, allocations: 0 / 0.5587 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.004786, allocations: 4 kB / 0.5587 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.004847, allocations: 7.984 kB / 0.5587 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.004851, allocations: 0 / 0.5587 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.004874, allocations: 7.984 kB / 0.5587 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.004878, allocations: 0 / 0.5587 GB, free: 14.69 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 6.618e-05/0.004944, allocations: 117.9 kB / 0.5589 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.004958, allocations: 7.938 kB / 0.5589 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.004971, allocations: 7.297 kB / 0.5589 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.004972, allocations: 0 / 0.5589 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.004976, allocations: 0 / 0.5589 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004978, allocations: 256 / 0.5589 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.371e-05/0.005061, allocations: 121.3 kB / 0.559 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.005063, allocations: 4 kB / 0.559 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.00509, allocations: 11.98 kB / 0.559 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.005093, allocations: 11.92 kB / 0.559 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.005098, allocations: 0 / 0.559 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005099, allocations: 3.938 kB / 0.559 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005099, allocations: 0 / 0.559 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.005222, allocations: 167.4 kB / 0.5592 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.005227, allocations: 4 kB / 0.5592 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.005236, allocations: 3.938 kB / 0.5592 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.005272, allocations: 7.984 kB / 0.5592 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.00531, allocations: 15.95 kB / 0.5592 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.005312, allocations: 0 / 0.5592 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.005336, allocations: 83.28 kB / 0.5593 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005336, allocations: 0 / 0.5593 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001489/0.005485, allocations: 4 kB / 0.5593 GB, free: 14.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 6.734e-05/0.005552, allocations: 99.23 kB / 0.5594 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.005672, allocations: 43.91 kB / 0.5594 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005673, allocations: 4.062 kB / 0.5594 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.005713, allocations: 19.97 kB / 0.5595 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.005872, allocations: 8 kB / 0.5595 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.006101, allocations: 138.6 kB / 0.5596 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.075e-05/0.006141, allocations: 67.33 kB / 0.5597 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.006167, allocations: 12.5 kB / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of SimCode: time 3.3e-07/0.006168, allocations: 0 / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.001332/0.007499, allocations: 0.6978 MB / 0.5603 GB, free: 12.93 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.657506270334125] Failed to read output from testmodel.py, exit status != 0: 0.011668077670037746 0.019516771000000002 0.015076724000000001 Calling exit ...