Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001614/0.001614, allocations: 111.1 kB / 17.08 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.001782/0.001782, allocations: 186.8 kB / 20.02 MB, free: 3.086 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.495/1.495, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.144/1.144, allocations: 147.6 MB / 445.6 MB, free: 8.273 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.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.88 kB / 0.6109 GB, free: 16 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4319, allocations: 83.15 MB / 0.6921 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00251/0.4345, allocations: 0.9895 MB / 0.6931 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.4367, allocations: 1.322 MB / 0.6944 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.4368, allocations: 1.438 kB / 0.6944 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.4369, allocations: 25.05 kB / 0.6944 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.437, allocations: 36.22 kB / 0.6944 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.4379, allocations: 276.3 kB / 0.6947 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005155/0.4384, allocations: 394.9 kB / 0.6951 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.4386, allocations: 76.66 kB / 0.6951 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.4389, allocations: 149.5 kB / 0.6953 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.4391, allocations: 132.5 kB / 0.6954 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.61e-05/0.4392, allocations: 34.38 kB / 0.6954 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.4394, allocations: 51.98 kB / 0.6955 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.4395, allocations: 64.31 kB / 0.6955 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.4398, allocations: 141.7 kB / 0.6957 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007425/0.4405, allocations: 398.5 kB / 0.6961 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4406, allocations: 3.938 kB / 0.6961 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4406, allocations: 1.375 kB / 0.6961 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.4406, allocations: 0 / 0.6961 GB, free: 10.54 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001639/0.4422, allocations: 0.6187 MB / 0.6967 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.994e-05/0.4423, allocations: 10.69 kB / 0.6967 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.815e-05/0.4424, allocations: 54.45 kB / 0.6967 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.4426, allocations: 32.81 kB / 0.6968 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.4437, allocations: 370.7 kB / 0.6971 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.4438, allocations: 17.06 kB / 0.6971 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.4438, allocations: 25.25 kB / 0.6972 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.4444, allocations: 205.1 kB / 0.6974 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4444, allocations: 5.125 kB / 0.6974 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.4444, allocations: 4.938 kB / 0.6974 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4444, allocations: 7.594 kB / 0.6974 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.4449, allocations: 136 kB / 0.6975 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.4463, allocations: 0.9008 MB / 0.6984 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.4467, allocations: 153.2 kB / 0.6985 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.4469, allocations: 84.3 kB / 0.6986 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.447, allocations: 0 / 0.6986 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004977/0.4475, allocations: 179.4 kB / 0.6988 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.4475, allocations: 0 / 0.6988 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.000968/0.4485, allocations: 261.8 kB / 0.699 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.4486, allocations: 162.1 kB / 0.6992 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.4488, allocations: 221.3 kB / 0.6994 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.4489, allocations: 41.69 kB / 0.6994 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.4491, allocations: 152.3 kB / 0.6996 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.4491, allocations: 27.75 kB / 0.6996 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.4492, allocations: 61.67 kB / 0.6997 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4494, allocations: 330.8 kB / 0.7 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.4497, allocations: 99.91 kB / 0.7001 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.4502, allocations: 169.4 kB / 0.7002 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/0.4508, allocations: 278.9 kB / 0.7005 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4508, allocations: 0 / 0.7005 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009727/0.4518, allocations: 384.7 kB / 0.7009 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.957e-05/0.4519, allocations: 67.39 kB / 0.7009 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4519, allocations: 0 / 0.7009 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.4519, allocations: 7.938 kB / 0.7009 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.4521, allocations: 32 kB / 0.701 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4521, allocations: 0 / 0.701 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.4526, allocations: 87.98 kB / 0.7011 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.4526, allocations: 19.97 kB / 0.7011 GB, free: 5.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001712/0.4528, allocations: 159.2 kB / 0.7012 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.4529, allocations: 19.86 kB / 0.7012 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.4529, allocations: 29.23 kB / 0.7013 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4529, allocations: 0 / 0.7013 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4529, allocations: 4 kB / 0.7013 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.453, allocations: 3.984 kB / 0.7013 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.4532, allocations: 249.5 kB / 0.7015 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4533, allocations: 4 kB / 0.7015 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.4534, allocations: 27.91 kB / 0.7015 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4534, allocations: 0 / 0.7015 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4534, allocations: 4 kB / 0.7016 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.4534, allocations: 7.938 kB / 0.7016 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4534, allocations: 4 kB / 0.7016 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.4541, allocations: 244.2 kB / 0.7018 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.4541, allocations: 93 kB / 0.7019 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.4542, allocations: 4 kB / 0.7019 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4543, allocations: 15.98 kB / 0.7019 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.4544, allocations: 23.91 kB / 0.7019 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.4544, allocations: 11.94 kB / 0.7019 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001471/0.4545, allocations: 156.5 kB / 0.7021 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4546, allocations: 4 kB / 0.7021 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003211/0.4549, allocations: 51.89 kB / 0.7021 GB, free: 4.273 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0009734/0.4559, allocations: 0.7834 MB / 0.7029 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000795/0.4567, allocations: 338.5 kB / 0.7032 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4567, allocations: 4 kB / 0.7032 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.457, allocations: 80.38 kB / 0.7033 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.4573, allocations: 49.91 kB / 0.7034 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.4614, allocations: 2.562 MB / 0.7059 GB, free: 240 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.4619, allocations: 0.7513 MB / 0.7066 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.462, allocations: 37.91 kB / 0.7066 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4621, allocations: 67.41 kB / 0.7067 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.4621, allocations: 0 / 0.7067 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.4898, allocations: 5.334 MB / 0.7119 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.611, allocations: 9.688 kB / 0.7119 GB, free: 10.16 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.327054759021848] Failed to read output from testmodel.py, exit status != 0: 8.680713562993333 8.705584843 8.260550207 Calling exit ...