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.00128/0.00128, allocations: 112.4 kB / 17.08 MB, free: 5.992 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.001305/0.001305, allocations: 194.7 kB / 20.03 MB, free: 3.055 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.521/1.521, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.164/1.164, allocations: 147.6 MB / 445.6 MB, free: 8.289 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.3127/0.3127, allocations: 61.14 kB / 0.6109 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.4901, allocations: 83.15 MB / 0.6921 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002506/0.4926, allocations: 0.9873 MB / 0.6931 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.4947, allocations: 1.33 MB / 0.6944 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.635e-05/0.4949, allocations: 1.312 kB / 0.6944 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.495, allocations: 19.73 kB / 0.6944 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.4951, allocations: 36.22 kB / 0.6944 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.496, allocations: 280.4 kB / 0.6947 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.4966, allocations: 399 kB / 0.6951 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.4968, allocations: 75.11 kB / 0.6951 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.497, allocations: 154.9 kB / 0.6953 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.4972, allocations: 128.5 kB / 0.6954 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.651e-05/0.4973, allocations: 34.38 kB / 0.6954 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.4975, allocations: 55.98 kB / 0.6955 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.4976, allocations: 60.27 kB / 0.6956 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.4977, allocations: 137.7 kB / 0.6957 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.4983, allocations: 406.4 kB / 0.6961 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4983, allocations: 4 kB / 0.6961 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4983, allocations: 0 / 0.6961 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4983, allocations: 0 / 0.6961 GB, free: 10.43 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.00114/0.4994, allocations: 0.6155 MB / 0.6967 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4995, allocations: 8.969 kB / 0.6967 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.4996, allocations: 47.83 kB / 0.6967 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.4997, allocations: 32.66 kB / 0.6968 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.5006, allocations: 371.5 kB / 0.6971 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.5007, allocations: 21.45 kB / 0.6971 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.5007, allocations: 19.75 kB / 0.6972 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.5012, allocations: 205.7 kB / 0.6973 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5012, allocations: 1.188 kB / 0.6974 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.5013, allocations: 9.172 kB / 0.6974 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.5013, allocations: 3.656 kB / 0.6974 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005374/0.5018, allocations: 144.7 kB / 0.6975 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.5031, allocations: 0.9039 MB / 0.6984 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.5035, allocations: 152.5 kB / 0.6985 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.5038, allocations: 83.86 kB / 0.6986 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.5038, allocations: 0 / 0.6986 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005261/0.5044, allocations: 175.5 kB / 0.6988 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.5044, allocations: 0 / 0.6988 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0009704/0.5053, allocations: 261.7 kB / 0.699 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.5055, allocations: 158.2 kB / 0.6992 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.5057, allocations: 228.9 kB / 0.6994 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.5058, allocations: 29.7 kB / 0.6994 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.5059, allocations: 164.5 kB / 0.6996 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.506, allocations: 31.73 kB / 0.6996 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.5061, allocations: 61.67 kB / 0.6997 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5063, allocations: 330.8 kB / 0.7 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.5067, allocations: 103.9 kB / 0.7001 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.5071, allocations: 173.3 kB / 0.7002 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.5077, allocations: 274.9 kB / 0.7005 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5078, allocations: 0 / 0.7005 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009279/0.5087, allocations: 376.7 kB / 0.7009 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.245e-05/0.5088, allocations: 63.34 kB / 0.7009 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.5088, allocations: 4 kB / 0.7009 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.5088, allocations: 7.984 kB / 0.7009 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.509, allocations: 19.98 kB / 0.701 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.509, allocations: 7.984 kB / 0.701 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.5095, allocations: 79.97 kB / 0.701 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.5096, allocations: 23.97 kB / 0.7011 GB, free: 5.406 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.0001801/0.5098, allocations: 155.2 kB / 0.7012 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.5098, allocations: 19.86 kB / 0.7012 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.5099, allocations: 29.23 kB / 0.7013 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.5099, allocations: 4 kB / 0.7013 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5099, allocations: 4 kB / 0.7013 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5099, allocations: 0 / 0.7013 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.5102, allocations: 261.5 kB / 0.7015 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5102, allocations: 0 / 0.7015 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.5104, allocations: 27.91 kB / 0.7015 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.5104, allocations: 4 kB / 0.7015 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.5104, allocations: 4 kB / 0.7016 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.5104, allocations: 4 kB / 0.7016 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5105, allocations: 0 / 0.7016 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.5111, allocations: 248.1 kB / 0.7018 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.5112, allocations: 89.02 kB / 0.7019 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.5112, allocations: 11.98 kB / 0.7019 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.5113, allocations: 15.98 kB / 0.7019 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.5114, allocations: 15.97 kB / 0.7019 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.5114, allocations: 7.938 kB / 0.7019 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001594/0.5116, allocations: 168.5 kB / 0.7021 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5116, allocations: 0 / 0.7021 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003122/0.5119, allocations: 51.89 kB / 0.7021 GB, free: 4.195 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.001024/0.5129, allocations: 0.7795 MB / 0.7029 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008228/0.5138, allocations: 342.5 kB / 0.7032 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5138, allocations: 0 / 0.7032 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.5141, allocations: 76.44 kB / 0.7033 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.5145, allocations: 59.52 kB / 0.7034 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.5188, allocations: 2.559 MB / 0.7059 GB, free: 164 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.5193, allocations: 0.7553 MB / 0.7066 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.5194, allocations: 37.52 kB / 0.7066 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5195, allocations: 67.41 kB / 0.7067 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of SimCode: time 1.163e-06/0.5195, allocations: 0 / 0.7067 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.5498, allocations: 5.334 MB / 0.7119 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.72, allocations: 3.984 kB / 0.7119 GB, free: 10.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.439417387126014] Failed to read output from testmodel.py, exit status != 0: 8.792066552909091 8.814155379 8.31197452 Calling exit ...