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.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.001337/0.001337, allocations: 113.6 kB / 17.08 MB, free: 5.988 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.001372/0.001372, allocations: 190.8 kB / 20.03 MB, free: 3.059 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.477/1.477, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.151/1.152, allocations: 147.6 MB / 445.5 MB, free: 8.285 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2956/0.2956, allocations: 65.83 kB / 0.6109 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.4714, allocations: 83.15 MB / 0.6921 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002124/0.4736, allocations: 0.6471 MB / 0.6927 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.4748, allocations: 0.8324 MB / 0.6935 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.4749, allocations: 5.688 kB / 0.6935 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.908e-05/0.475, allocations: 3.938 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.414e-05/0.475, allocations: 0 / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.4752, allocations: 20.58 kB / 0.6936 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.796e-05/0.4753, allocations: 36.56 kB / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.4754, allocations: 13.42 kB / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.4755, allocations: 12.89 kB / 0.6936 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.4756, allocations: 15.86 kB / 0.6936 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.4756, allocations: 4.062 kB / 0.6937 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.4756, allocations: 7.719 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.51e-05/0.4757, allocations: 5.812 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.4758, allocations: 19.61 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.4759, allocations: 35.81 kB / 0.6937 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4759, allocations: 0 / 0.6937 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4759, allocations: 0 / 0.6937 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4759, allocations: 5.953 kB / 0.6937 GB, free: 12.06 MB / 0.5137 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.000524/0.4764, allocations: 350.3 kB / 0.6941 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4765, allocations: 8.562 kB / 0.6941 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.4765, allocations: 36.19 kB / 0.6941 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.4766, allocations: 3.844 kB / 0.6941 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.4767, allocations: 179.3 kB / 0.6943 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.4768, allocations: 2.031 kB / 0.6943 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.4768, allocations: 3.312 kB / 0.6943 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.477, allocations: 64.34 kB / 0.6943 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.477, allocations: 3.938 kB / 0.6943 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.477, allocations: 3.984 kB / 0.6943 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4771, allocations: 5.625 kB / 0.6944 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.4773, allocations: 47.64 kB / 0.6944 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.4777, allocations: 283.2 kB / 0.6947 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.4778, allocations: 41.33 kB / 0.6947 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.4779, allocations: 31.8 kB / 0.6947 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.478, allocations: 0 / 0.6947 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.478, allocations: 32.03 kB / 0.6948 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.478, allocations: 0 / 0.6948 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003845/0.4784, allocations: 87.23 kB / 0.6949 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.4784, allocations: 51.53 kB / 0.6949 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.4785, allocations: 109 kB / 0.695 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.4786, allocations: 25.7 kB / 0.695 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.4786, allocations: 93.88 kB / 0.6951 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.4787, allocations: 5.719 kB / 0.6951 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.4787, allocations: 21.23 kB / 0.6951 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4788, allocations: 316.6 kB / 0.6954 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.4789, allocations: 16.98 kB / 0.6955 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.479, allocations: 21.81 kB / 0.6955 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.4792, allocations: 45.73 kB / 0.6955 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4792, allocations: 1.719 kB / 0.6955 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002096/0.4794, allocations: 69.89 kB / 0.6956 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4795, allocations: 10.16 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4795, allocations: 5.141 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4795, allocations: 0 / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4796, allocations: 6.844 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.4796, allocations: 0 / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.338e-05/0.4797, allocations: 7.172 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4797, allocations: 5.531 kB / 0.6956 GB, free: 10.13 MB / 0.5137 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 0.0001536/0.4799, allocations: 117.2 kB / 0.6957 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.4799, allocations: 9.797 kB / 0.6958 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.4799, allocations: 3.125 kB / 0.6958 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.48, allocations: 0 / 0.6958 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.48, allocations: 2.375 kB / 0.6958 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.48, allocations: 0 / 0.6958 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.4802, allocations: 172.4 kB / 0.6959 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4802, allocations: 3.062 kB / 0.6959 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.4803, allocations: 12.05 kB / 0.6959 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4803, allocations: 0 / 0.6959 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.4803, allocations: 1.375 kB / 0.6959 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4803, allocations: 4 kB / 0.6959 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4803, allocations: 0 / 0.6959 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.4806, allocations: 169.5 kB / 0.6961 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.4806, allocations: 78.48 kB / 0.6962 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4807, allocations: 3.984 kB / 0.6962 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.4807, allocations: 4.125 kB / 0.6962 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.4808, allocations: 14.77 kB / 0.6962 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4808, allocations: 1.375 kB / 0.6962 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.4809, allocations: 79.41 kB / 0.6963 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4809, allocations: 0 / 0.6963 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000215/0.4811, allocations: 4.125 kB / 0.6963 GB, free: 9.441 MB / 0.5137 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 0.0006129/0.4817, allocations: 0.7098 MB / 0.697 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.4819, allocations: 39.33 kB / 0.697 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.482, allocations: 3.938 kB / 0.697 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.4821, allocations: 21.73 kB / 0.697 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.4823, allocations: 9.469 kB / 0.697 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.4839, allocations: 1.253 MB / 0.6983 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.4842, allocations: 0.6797 MB / 0.6989 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.815e-05/0.4842, allocations: 10.97 kB / 0.6989 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.4843, allocations: 18.14 kB / 0.699 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4843, allocations: 0 / 0.699 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.5087, allocations: 1.531 MB / 0.7005 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.347, allocations: 5.812 kB / 0.7005 GB, free: 5.922 MB / 0.5137 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.922209806041792] Failed to read output from testmodel.py, exit status != 0: 8.414150156080723 8.42898373 7.95027686 Calling exit ...