Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.001308/0.001308, allocations: 108.7 kB / 17.07 MB, free: 6.016 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.001355/0.001355, allocations: 190.8 kB / 20.03 MB, free: 3.082 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.498/1.498, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.119/1.119, allocations: 147.6 MB / 445.5 MB, free: 8.281 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.RealVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.3068/0.3068, allocations: 63.27 kB / 0.6109 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.4561, allocations: 83.14 MB / 0.6921 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002012/0.4581, allocations: 0.6401 MB / 0.6927 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.4592, allocations: 0.7906 MB / 0.6935 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.4593, allocations: 0 / 0.6935 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.4594, allocations: 7.938 kB / 0.6935 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.684e-05/0.4595, allocations: 6.828 kB / 0.6935 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.549e-05/0.4596, allocations: 11.94 kB / 0.6935 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.4597, allocations: 53.92 kB / 0.6936 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.4598, allocations: 22.14 kB / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.4599, allocations: 22.83 kB / 0.6936 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.46, allocations: 39.05 kB / 0.6936 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.46, allocations: 11.47 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.4601, allocations: 3.469 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.4601, allocations: 18.3 kB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.4602, allocations: 29.36 kB / 0.6937 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.4603, allocations: 72.73 kB / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4603, allocations: 0 / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4603, allocations: 0 / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.4603, allocations: 1.031 kB / 0.6938 GB, free: 12.08 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006595/0.461, allocations: 392.4 kB / 0.6942 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.461, allocations: 10.22 kB / 0.6942 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.4611, allocations: 36.16 kB / 0.6942 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.4611, allocations: 7.672 kB / 0.6942 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.4614, allocations: 186.6 kB / 0.6944 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4614, allocations: 8.062 kB / 0.6944 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.4614, allocations: 1.688 kB / 0.6944 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.4618, allocations: 139 kB / 0.6945 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4618, allocations: 5.75 kB / 0.6945 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.4618, allocations: 4 kB / 0.6945 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4618, allocations: 1.094 kB / 0.6945 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.4622, allocations: 127.6 kB / 0.6947 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007453/0.463, allocations: 433 kB / 0.6951 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.4632, allocations: 87.61 kB / 0.6952 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.4634, allocations: 62.62 kB / 0.6952 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4635, allocations: 0 / 0.6952 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4635, allocations: 39.77 kB / 0.6952 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.4635, allocations: 0 / 0.6952 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0006608/0.4642, allocations: 188.8 kB / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.4642, allocations: 78.48 kB / 0.6955 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.4643, allocations: 124.9 kB / 0.6956 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4644, allocations: 31.02 kB / 0.6957 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.4644, allocations: 98.77 kB / 0.6957 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.4645, allocations: 9.328 kB / 0.6958 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.4645, allocations: 16.62 kB / 0.6958 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4646, allocations: 317.6 kB / 0.6961 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.4648, allocations: 51.42 kB / 0.6961 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.465, allocations: 63.89 kB / 0.6962 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.4654, allocations: 113.8 kB / 0.6963 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4654, allocations: 0 / 0.6963 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003978/0.4658, allocations: 136.6 kB / 0.6964 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4658, allocations: 5.5 kB / 0.6964 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4658, allocations: 1.375 kB / 0.6964 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4659, allocations: 0 / 0.6964 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.466, allocations: 23.28 kB / 0.6965 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.466, allocations: 1.375 kB / 0.6965 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.4661, allocations: 20.16 kB / 0.6965 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4661, allocations: 5.375 kB / 0.6965 GB, free: 9.641 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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 9.79e-05/0.4662, allocations: 131.5 kB / 0.6966 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.4663, allocations: 1.375 kB / 0.6966 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.4663, allocations: 10.28 kB / 0.6966 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4663, allocations: 0 / 0.6966 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4663, allocations: 1.375 kB / 0.6966 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4663, allocations: 3.938 kB / 0.6966 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4666, allocations: 182.1 kB / 0.6968 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4666, allocations: 3.984 kB / 0.6968 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4667, allocations: 24.34 kB / 0.6968 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4667, allocations: 0 / 0.6968 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4667, allocations: 5.375 kB / 0.6968 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4667, allocations: 0 / 0.6968 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4668, allocations: 1.375 kB / 0.6968 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.4672, allocations: 314.8 kB / 0.6971 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.4673, allocations: 78.45 kB / 0.6972 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.4673, allocations: 5.297 kB / 0.6972 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.4675, allocations: 13.17 kB / 0.6972 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.4675, allocations: 10.45 kB / 0.6972 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.4675, allocations: 5.281 kB / 0.6972 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00013/0.4677, allocations: 97.52 kB / 0.6973 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4677, allocations: 4.031 kB / 0.6973 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002663/0.468, allocations: 17.17 kB / 0.6973 GB, free: 8.789 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0008878/0.4689, allocations: 0.8344 MB / 0.6982 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.4693, allocations: 107.9 kB / 0.6983 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4693, allocations: 1.344 kB / 0.6983 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.4695, allocations: 73.19 kB / 0.6983 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.4699, allocations: 8.969 kB / 0.6983 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.4723, allocations: 1.575 MB / 0.6999 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.4728, allocations: 0.701 MB / 0.7006 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.512e-05/0.4728, allocations: 16.64 kB / 0.7006 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.4729, allocations: 16.94 kB / 0.7006 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.4729, allocations: 0 / 0.7006 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.4961, allocations: 1.872 MB / 0.7024 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.402, allocations: 11.44 kB / 0.7024 GB, free: 4.07 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.994682394899428] Failed to read output from testmodel.py, exit status != 0: 8.469671746017411 8.48236871 8.019464213 Calling exit ...