Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.001865/0.001865, allocations: 114.6 kB / 19.59 MB, free: 2.301 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.002182/0.002182, allocations: 195.6 kB / 22.85 MB, free: 5.648 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.45/1.45, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.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.009/1.009, allocations: 149.5 MB / 456.3 MB, free: 1.301 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.BooleanVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003203/0.003203, allocations: 72.27 kB / 0.6319 GB, free: 9.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1981, allocations: 87.88 MB / 0.7177 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002065/0.2001, allocations: 0.6165 MB / 0.7183 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2017, allocations: 1.12 MB / 0.7194 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.2018, allocations: 11.94 kB / 0.7194 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.595e-05/0.2019, allocations: 3.984 kB / 0.7194 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.298e-05/0.2019, allocations: 11.92 kB / 0.7195 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.2024, allocations: 126.6 kB / 0.7196 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.2027, allocations: 187.6 kB / 0.7198 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2028, allocations: 7.984 kB / 0.7198 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2029, allocations: 79.89 kB / 0.7198 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.2031, allocations: 75.83 kB / 0.7199 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.2032, allocations: 16 kB / 0.7199 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.2032, allocations: 28 kB / 0.72 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.2033, allocations: 23.91 kB / 0.72 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.2034, allocations: 67.78 kB / 0.72 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.2037, allocations: 199.3 kB / 0.7202 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2037, allocations: 0 / 0.7202 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.043e-06/0.2037, allocations: 0 / 0.7202 GB, free: 15.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.2037, allocations: 0 / 0.7202 GB, free: 15.15 MB / 0.545 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.0006331/0.2044, allocations: 377.5 kB / 0.7206 GB, free: 14.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2044, allocations: 8.625 kB / 0.7206 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.2045, allocations: 46.73 kB / 0.7206 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.2045, allocations: 12.89 kB / 0.7207 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.2048, allocations: 166.4 kB / 0.7208 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.2049, allocations: 8.375 kB / 0.7208 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.2049, allocations: 12.38 kB / 0.7208 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.2051, allocations: 99.86 kB / 0.7209 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2051, allocations: 3.938 kB / 0.7209 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2051, allocations: 0 / 0.7209 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2051, allocations: 4 kB / 0.7209 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.2052, allocations: 43.97 kB / 0.721 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.2058, allocations: 467.8 kB / 0.7214 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.2059, allocations: 61.12 kB / 0.7215 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.206, allocations: 33.69 kB / 0.7215 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.206, allocations: 4 kB / 0.7215 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.2062, allocations: 109 kB / 0.7216 GB, free: 13.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.2062, allocations: 0 / 0.7216 GB, free: 13.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.000312/0.2065, allocations: 137.5 kB / 0.7218 GB, free: 13.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.2066, allocations: 85.11 kB / 0.7218 GB, free: 13.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.2067, allocations: 137.7 kB / 0.722 GB, free: 13.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.2067, allocations: 29.7 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.2068, allocations: 100.1 kB / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.2069, allocations: 11.94 kB / 0.7221 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.207, allocations: 53.69 kB / 0.7222 GB, free: 12.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2071, allocations: 322.8 kB / 0.7225 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.2074, allocations: 119.9 kB / 0.7226 GB, free: 12.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.2076, allocations: 165.5 kB / 0.7227 GB, free: 12.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.2079, allocations: 216.4 kB / 0.7229 GB, free: 12.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2079, allocations: 0 / 0.7229 GB, free: 12.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006012/0.2085, allocations: 396.6 kB / 0.7233 GB, free: 11.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.2086, allocations: 63.39 kB / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2086, allocations: 0 / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2086, allocations: 4 kB / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.2086, allocations: 4 kB / 0.7234 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.2086, allocations: 0 / 0.7234 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.2089, allocations: 76 kB / 0.7235 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.209, allocations: 15.98 kB / 0.7235 GB, free: 11.51 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001359/0.2091, allocations: 138.9 kB / 0.7236 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.2091, allocations: 7.953 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.2092, allocations: 11.92 kB / 0.7236 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2092, allocations: 0 / 0.7236 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2092, allocations: 11.94 kB / 0.7236 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2092, allocations: 3.938 kB / 0.7236 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.2093, allocations: 156.7 kB / 0.7238 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2093, allocations: 0 / 0.7238 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-06/0.2093, allocations: 0 / 0.7238 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2093, allocations: 384 / 0.7238 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2094, allocations: 4 kB / 0.7238 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2094, allocations: 0 / 0.7238 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2094, allocations: 3.984 kB / 0.7238 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.2095, allocations: 137.9 kB / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.2096, allocations: 7.953 kB / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2096, allocations: 7.922 kB / 0.7239 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.459e-05/0.2096, allocations: 8 kB / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.2096, allocations: 3.938 kB / 0.724 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.2096, allocations: 11.92 kB / 0.724 GB, free: 10.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.936e-05/0.2097, allocations: 99.31 kB / 0.7241 GB, free: 10.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2097, allocations: 0 / 0.7241 GB, free: 10.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002515/0.21, allocations: 43.95 kB / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005312/0.2105, allocations: 0.6757 MB / 0.7248 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004606/0.211, allocations: 302.8 kB / 0.725 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.211, allocations: 4.062 kB / 0.7251 GB, free: 9.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.707e-05/0.211, allocations: 27.98 kB / 0.7251 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.2112, allocations: 15.92 kB / 0.7251 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.2139, allocations: 2.168 MB / 0.7272 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.2143, allocations: 0.7041 MB / 0.7279 GB, free: 6.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.2143, allocations: 8 kB / 0.7279 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.2144, allocations: 23.42 kB / 0.7279 GB, free: 6.648 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2144, allocations: 0 / 0.7279 GB, free: 6.648 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.2417, allocations: 3.507 MB / 0.7314 GB, free: 3.262 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.179, allocations: 2.75 kB / 0.7314 GB, free: 3.262 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.945325991997379] Failed to read output from testmodel.py, exit status != 0: 8.253094108993537 8.2785602 8.069867651 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0f5e6197b0>