Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001284/0.001284, allocations: 102.6 kB / 17.07 MB, free: 5.945 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.001392/0.001392, allocations: 197.1 kB / 20.03 MB, free: 3.012 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.526/1.526, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.168/1.168, allocations: 147.6 MB / 445.6 MB, free: 8.43 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.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2985/0.2985, allocations: 60.55 kB / 0.6109 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.4852, allocations: 83.15 MB / 0.6921 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002966/0.4882, allocations: 1.32 MB / 0.6934 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.4904, allocations: 1.547 MB / 0.6949 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.4906, allocations: 10.62 kB / 0.6949 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.4908, allocations: 36.92 kB / 0.6949 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.491, allocations: 60.94 kB / 0.695 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.4923, allocations: 0.4957 MB / 0.6955 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000838/0.4931, allocations: 0.69 MB / 0.6962 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.4935, allocations: 169.4 kB / 0.6963 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.4938, allocations: 250.8 kB / 0.6966 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.4942, allocations: 243.7 kB / 0.6968 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.4943, allocations: 64.62 kB / 0.6969 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.4944, allocations: 79.42 kB / 0.6969 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.963e-05/0.4945, allocations: 80.38 kB / 0.697 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.4948, allocations: 249.1 kB / 0.6972 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007918/0.4956, allocations: 0.6873 MB / 0.6979 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4956, allocations: 0 / 0.6979 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4956, allocations: 0 / 0.6979 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4957, allocations: 1.312 kB / 0.6979 GB, free: 9.016 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001339/0.497, allocations: 0.9459 MB / 0.6988 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4971, allocations: 8.031 kB / 0.6988 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.938e-05/0.4971, allocations: 62.73 kB / 0.6989 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.4973, allocations: 52.66 kB / 0.699 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.4986, allocations: 479.9 kB / 0.6994 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.4987, allocations: 32.92 kB / 0.6994 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.4988, allocations: 40.38 kB / 0.6995 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.4995, allocations: 325.1 kB / 0.6998 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4995, allocations: 3.984 kB / 0.6998 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.4996, allocations: 12 kB / 0.6998 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4996, allocations: 8 kB / 0.6998 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.5003, allocations: 258 kB / 0.7001 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.5019, allocations: 0.9044 MB / 0.7009 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.5026, allocations: 374.6 kB / 0.7013 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.5031, allocations: 283.8 kB / 0.7016 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.5032, allocations: 4 kB / 0.7016 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006314/0.5038, allocations: 315.1 kB / 0.7019 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 3.277e-06/0.5038, allocations: 0 / 0.7019 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.001657/0.5055, allocations: 0.8412 MB / 0.7027 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.5056, allocations: 191.9 kB / 0.7029 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.5059, allocations: 284.5 kB / 0.7032 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.506, allocations: 49.64 kB / 0.7032 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.5061, allocations: 176.8 kB / 0.7034 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.5063, allocations: 134.9 kB / 0.7035 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.5065, allocations: 134.1 kB / 0.7036 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5067, allocations: 350.8 kB / 0.704 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/0.5073, allocations: 276.8 kB / 0.7042 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/0.508, allocations: 365.8 kB / 0.7046 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.5093, allocations: 0.9088 MB / 0.7055 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5093, allocations: 0 / 0.7055 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001739/0.511, allocations: 0.9939 MB / 0.7064 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.5112, allocations: 261.3 kB / 0.7067 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5112, allocations: 4.281 kB / 0.7067 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5113, allocations: 8 kB / 0.7067 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.5116, allocations: 63.89 kB / 0.7068 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.5116, allocations: 7.938 kB / 0.7068 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.5124, allocations: 151.6 kB / 0.7069 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.5125, allocations: 67.92 kB / 0.707 GB, free: 15.17 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.000306/0.5128, allocations: 319.7 kB / 0.7073 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.5129, allocations: 39.77 kB / 0.7073 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.627e-05/0.513, allocations: 39.48 kB / 0.7074 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.513, allocations: 8 kB / 0.7074 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.513, allocations: 0 / 0.7074 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.513, allocations: 0 / 0.7074 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.5149, allocations: 1.192 MB / 0.7085 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5149, allocations: 0 / 0.7085 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.5152, allocations: 67.89 kB / 0.7086 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5152, allocations: 0 / 0.7086 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.5152, allocations: 15.98 kB / 0.7086 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.5152, allocations: 3.938 kB / 0.7086 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5152, allocations: 4 kB / 0.7086 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.5164, allocations: 0.7667 MB / 0.7094 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.5165, allocations: 120.8 kB / 0.7095 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.5166, allocations: 12 kB / 0.7095 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.5168, allocations: 35.84 kB / 0.7095 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/0.5169, allocations: 35.95 kB / 0.7096 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.5171, allocations: 51.88 kB / 0.7096 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002007/0.5173, allocations: 199.1 kB / 0.7098 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5173, allocations: 0 / 0.7098 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004833/0.5178, allocations: 107.9 kB / 0.7099 GB, free: 11.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.00157/0.5193, allocations: 1.33 MB / 0.7112 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.5211, allocations: 1.109 MB / 0.7123 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5211, allocations: 0.5625 kB / 0.7123 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.5218, allocations: 0.5203 MB / 0.7128 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.5223, allocations: 96.45 kB / 0.7129 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/0.5297, allocations: 4.649 MB / 0.7174 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.5303, allocations: 0.8001 MB / 0.7182 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002993/0.5306, allocations: 91.2 kB / 0.7183 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.5308, allocations: 115.4 kB / 0.7184 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.5308, allocations: 3.938 kB / 0.7184 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.5684, allocations: 9.824 MB / 0.728 GB, free: 9.172 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/9.011, allocations: 3.75 kB / 0.728 GB, free: 9.172 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.778011232148856] Failed to read output from testmodel.py, exit status != 0: 9.087440629955381 9.1152585 8.614569177 Calling exit ...