Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001316/0.001316, allocations: 113.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.001399/0.001399, 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.45/1.45, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.16/1.16, allocations: 147.7 MB / 445.6 MB, free: 8.398 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.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 67.89 kB / 0.6109 GB, free: 16 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4087, allocations: 83.14 MB / 0.6921 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002245/0.411, allocations: 0.8555 MB / 0.6929 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.4128, allocations: 1.284 MB / 0.6942 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.4129, allocations: 5.469 kB / 0.6942 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.413, allocations: 21.2 kB / 0.6942 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.595e-05/0.4131, allocations: 30.78 kB / 0.6942 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.4139, allocations: 266.7 kB / 0.6945 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.4143, allocations: 349.6 kB / 0.6948 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.4145, allocations: 56.03 kB / 0.6949 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.4147, allocations: 129.3 kB / 0.695 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.4149, allocations: 111.1 kB / 0.6951 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.415, allocations: 28.88 kB / 0.6951 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.4151, allocations: 51.84 kB / 0.6952 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.331e-05/0.4152, allocations: 46.97 kB / 0.6952 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.4154, allocations: 121.8 kB / 0.6954 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.4158, allocations: 347.7 kB / 0.6957 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4158, allocations: 3.938 kB / 0.6957 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4159, allocations: 1.375 kB / 0.6957 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4159, allocations: 0 / 0.6957 GB, free: 10.81 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008712/0.4167, allocations: 0.546 MB / 0.6962 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4168, allocations: 10.44 kB / 0.6962 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.4169, allocations: 46.42 kB / 0.6963 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.039e-05/0.4169, allocations: 31.73 kB / 0.6963 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/0.4176, allocations: 295.4 kB / 0.6966 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.4177, allocations: 13 kB / 0.6966 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.4177, allocations: 19.16 kB / 0.6966 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.418, allocations: 152.7 kB / 0.6968 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.418, allocations: 5.375 kB / 0.6968 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.4181, allocations: 9.109 kB / 0.6968 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4181, allocations: 3.031 kB / 0.6968 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.4182, allocations: 66.59 kB / 0.6968 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.4192, allocations: 0.7562 MB / 0.6976 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.4193, allocations: 59.95 kB / 0.6976 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.4193, allocations: 25.14 kB / 0.6977 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4194, allocations: 1.25 kB / 0.6977 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.4196, allocations: 114 kB / 0.6978 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.4196, allocations: 0 / 0.6978 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0002941/0.4199, allocations: 121.7 kB / 0.6979 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.42, allocations: 90.64 kB / 0.698 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.4202, allocations: 220.8 kB / 0.6982 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.4203, allocations: 33.7 kB / 0.6982 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.4204, allocations: 146 kB / 0.6984 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.4204, allocations: 16.03 kB / 0.6984 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.4205, allocations: 65.3 kB / 0.6984 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4207, allocations: 330.9 kB / 0.6988 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.4209, allocations: 63.58 kB / 0.6988 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.4211, allocations: 133.5 kB / 0.6989 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.4213, allocations: 198.8 kB / 0.6991 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4214, allocations: 0 / 0.6991 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005418/0.4219, allocations: 292.7 kB / 0.6994 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.422, allocations: 67.39 kB / 0.6995 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.422, allocations: 4 kB / 0.6995 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.422, allocations: 4 kB / 0.6995 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.4221, allocations: 7.984 kB / 0.6995 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4221, allocations: 4 kB / 0.6995 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.4225, allocations: 76 kB / 0.6996 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.4226, allocations: 12 kB / 0.6996 GB, free: 7.086 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0002055/0.4228, allocations: 154.6 kB / 0.6997 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.4228, allocations: 15.91 kB / 0.6997 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.4229, allocations: 16.94 kB / 0.6998 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4229, allocations: 0 / 0.6998 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4229, allocations: 0 / 0.6998 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.4229, allocations: 7.984 kB / 0.6998 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.4232, allocations: 233.5 kB / 0.7 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4232, allocations: 0 / 0.7 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.4232, allocations: 7.984 kB / 0.7 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.4232, allocations: 0 / 0.7 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4232, allocations: 3.938 kB / 0.7 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4232, allocations: 4 kB / 0.7 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4232, allocations: 3.938 kB / 0.7 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.4235, allocations: 137.8 kB / 0.7001 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.4235, allocations: 97 kB / 0.7002 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.4236, allocations: 0 / 0.7002 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.4236, allocations: 4 kB / 0.7002 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.4237, allocations: 4 kB / 0.7002 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.4237, allocations: 7.984 kB / 0.7002 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001332/0.4238, allocations: 149.5 kB / 0.7004 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4238, allocations: 0 / 0.7004 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002882/0.4241, allocations: 43.89 kB / 0.7004 GB, free: 6.121 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: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0006498/0.4248, allocations: 0.6911 MB / 0.7011 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.4252, allocations: 258.6 kB / 0.7014 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4252, allocations: 0 / 0.7014 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/0.4253, allocations: 32.64 kB / 0.7014 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.4256, allocations: 33.53 kB / 0.7014 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.4285, allocations: 2.173 MB / 0.7035 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.429, allocations: 0.7357 MB / 0.7043 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.205e-05/0.4291, allocations: 21.53 kB / 0.7043 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.4292, allocations: 59.36 kB / 0.7043 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.4292, allocations: 0 / 0.7043 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.455, allocations: 4.373 MB / 0.7086 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.565, allocations: 9.031 kB / 0.7086 GB, free: 13.66 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.1693785560783] Failed to read output from testmodel.py, exit status != 0: 8.637991325929761 8.66509234 8.244275107 Calling exit ...