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.001274/0.001274, allocations: 118.4 kB / 19.59 MB, free: 2.133 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.001388/0.001388, allocations: 188.3 kB / 22.84 MB, free: 5.039 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.446/1.446, 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 0.9732/0.9732, allocations: 149.6 MB / 456.3 MB, free: 1.293 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.002016/0.002016, allocations: 64.2 kB / 0.6319 GB, free: 9.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1973, allocations: 87.88 MB / 0.7177 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002227/0.1996, allocations: 0.866 MB / 0.7186 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.2015, allocations: 1.307 MB / 0.7199 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.2016, allocations: 3.938 kB / 0.7199 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.2017, allocations: 15.8 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.2018, allocations: 39.72 kB / 0.7199 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.2026, allocations: 269.6 kB / 0.7202 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.203, allocations: 319.5 kB / 0.7205 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.2032, allocations: 41.66 kB / 0.7205 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.2034, allocations: 135.7 kB / 0.7206 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.2036, allocations: 107.6 kB / 0.7207 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.2036, allocations: 28 kB / 0.7208 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.2038, allocations: 51.97 kB / 0.7208 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.174e-05/0.2038, allocations: 51.78 kB / 0.7209 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.204, allocations: 111.5 kB / 0.721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.2044, allocations: 354.7 kB / 0.7213 GB, free: 14.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2045, allocations: 4 kB / 0.7213 GB, free: 14.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2045, allocations: 0 / 0.7213 GB, free: 14.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.2045, allocations: 0 / 0.7213 GB, free: 14.02 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007509/0.2052, allocations: 484.7 kB / 0.7218 GB, free: 13.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2053, allocations: 8.625 kB / 0.7218 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.2053, allocations: 46.73 kB / 0.7218 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.2054, allocations: 28.8 kB / 0.7219 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/0.206, allocations: 249.9 kB / 0.7221 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.206, allocations: 12.38 kB / 0.7221 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.2061, allocations: 20.38 kB / 0.7221 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2063, allocations: 148.2 kB / 0.7223 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2064, allocations: 3.938 kB / 0.7223 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2064, allocations: 4 kB / 0.7223 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2064, allocations: 4 kB / 0.7223 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.2065, allocations: 71.89 kB / 0.7224 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.2074, allocations: 0.7186 MB / 0.7231 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2075, allocations: 61.23 kB / 0.7231 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.2076, allocations: 21.78 kB / 0.7231 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.2076, allocations: 0 / 0.7231 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.2078, allocations: 105 kB / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.2078, allocations: 0 / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003545/0.2082, allocations: 129.5 kB / 0.7234 GB, free: 11.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.2082, allocations: 81.11 kB / 0.7234 GB, free: 11.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.2085, allocations: 215.8 kB / 0.7236 GB, free: 11.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.2085, allocations: 29.7 kB / 0.7237 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.2087, allocations: 140.2 kB / 0.7238 GB, free: 11.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.2087, allocations: 23.88 kB / 0.7238 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.2088, allocations: 65.67 kB / 0.7239 GB, free: 11.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.209, allocations: 334.8 kB / 0.7242 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.2091, allocations: 63.97 kB / 0.7243 GB, free: 10.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.2093, allocations: 136.5 kB / 0.7244 GB, free: 10.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.2096, allocations: 190.2 kB / 0.7246 GB, free: 10.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2096, allocations: 0 / 0.7246 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005397/0.2102, allocations: 304.7 kB / 0.7249 GB, free: 10.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.2102, allocations: 69.58 kB / 0.7249 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2102, allocations: 0 / 0.7249 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2102, allocations: 4.469 kB / 0.7249 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.2103, allocations: 11.94 kB / 0.725 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2103, allocations: 0 / 0.725 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.2107, allocations: 80 kB / 0.725 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.2108, allocations: 15.98 kB / 0.725 GB, free: 9.859 MB / 0.545 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.0001649/0.2109, allocations: 147.1 kB / 0.7252 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.211, allocations: 19.89 kB / 0.7252 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.211, allocations: 20.95 kB / 0.7252 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.211, allocations: 4 kB / 0.7252 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.211, allocations: 0 / 0.7252 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.211, allocations: 7.938 kB / 0.7252 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.2112, allocations: 208.6 kB / 0.7254 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2112, allocations: 0 / 0.7254 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.2113, allocations: 7.938 kB / 0.7254 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2113, allocations: 0 / 0.7254 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.2113, allocations: 7.984 kB / 0.7254 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2113, allocations: 0 / 0.7254 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2113, allocations: 0 / 0.7254 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.2115, allocations: 137.8 kB / 0.7256 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.2115, allocations: 11.91 kB / 0.7256 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.2115, allocations: 4 kB / 0.7256 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.143e-05/0.2116, allocations: 3.984 kB / 0.7256 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.2116, allocations: 11.94 kB / 0.7256 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.2116, allocations: 7.984 kB / 0.7256 GB, free: 9.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001336/0.2118, allocations: 144.2 kB / 0.7258 GB, free: 9.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2118, allocations: 0 / 0.7258 GB, free: 9.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002928/0.2121, allocations: 47.89 kB / 0.7258 GB, free: 9.008 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: 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.000579/0.2126, allocations: 0.6796 MB / 0.7265 GB, free: 8.293 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000403/0.213, allocations: 230.6 kB / 0.7267 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.213, allocations: 4.375 kB / 0.7267 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.048e-05/0.2131, allocations: 27.92 kB / 0.7267 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.2134, allocations: 41.34 kB / 0.7268 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.2162, allocations: 2.183 MB / 0.7289 GB, free: 5.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.2166, allocations: 0.7281 MB / 0.7296 GB, free: 4.902 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.857e-05/0.2167, allocations: 25.47 kB / 0.7296 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.2168, allocations: 51.42 kB / 0.7297 GB, free: 4.828 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2168, allocations: 0 / 0.7297 GB, free: 4.828 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.2462, allocations: 4.421 MB / 0.734 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.302, allocations: 5 kB / 0.734 GB, free: 0.5312 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.99344339799427] Failed to read output from testmodel.py, exit status != 0: 8.371634536000784 8.38808252 8.180294478 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb5589757b0>