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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 212.2 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.942/0.942, allocations: 149.9 MB / 463.8 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 67.2 kB / 0.6423 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1997, allocations: 89.18 MB / 0.7294 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002267/0.202, allocations: 0.8222 MB / 0.7302 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.2042, allocations: 1.303 MB / 0.7315 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.2042, allocations: 7.938 kB / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.2043, allocations: 15.8 kB / 0.7315 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.833e-05/0.2044, allocations: 31.78 kB / 0.7315 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.2052, allocations: 276.5 kB / 0.7318 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.2057, allocations: 331.4 kB / 0.7321 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2058, allocations: 37.61 kB / 0.7321 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.206, allocations: 143.6 kB / 0.7323 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.2063, allocations: 91.69 kB / 0.7324 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.2063, allocations: 31.94 kB / 0.7324 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2064, allocations: 47.98 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.2065, allocations: 47.84 kB / 0.7325 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.2067, allocations: 103.6 kB / 0.7326 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.2071, allocations: 354.8 kB / 0.7329 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2071, allocations: 0 / 0.7329 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2071, allocations: 0 / 0.7329 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2071, allocations: 3.938 kB / 0.7329 GB, free: 12.88 MB / 0.5606 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.0007972/0.2079, allocations: 492.7 kB / 0.7334 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.208, allocations: 8.031 kB / 0.7334 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.2083, allocations: 56.8 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.2089, allocations: 230.3 kB / 0.7337 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.2089, allocations: 12.38 kB / 0.7337 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.209, allocations: 24.38 kB / 0.7337 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.2092, allocations: 150.4 kB / 0.7338 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2092, allocations: 3.938 kB / 0.7338 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2093, allocations: 8 kB / 0.7339 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2093, allocations: 0 / 0.7339 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.2094, allocations: 71.91 kB / 0.7339 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007756/0.2102, allocations: 0.6412 MB / 0.7346 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2103, allocations: 57.17 kB / 0.7346 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.2103, allocations: 33.72 kB / 0.7346 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.2103, allocations: 0 / 0.7346 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.2106, allocations: 105 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2106, allocations: 0 / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003008/0.2109, allocations: 133.5 kB / 0.7349 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.2109, allocations: 77.11 kB / 0.7349 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.2112, allocations: 215.7 kB / 0.7351 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.2112, allocations: 33.7 kB / 0.7352 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.2114, allocations: 136.3 kB / 0.7353 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.2114, allocations: 15.91 kB / 0.7353 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.2115, allocations: 73.62 kB / 0.7354 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.2117, allocations: 322.8 kB / 0.7357 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.2119, allocations: 131.4 kB / 0.7358 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.2122, allocations: 247.3 kB / 0.7361 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.2124, allocations: 194.2 kB / 0.7362 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2124, allocations: 0 / 0.7362 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005578/0.213, allocations: 372.4 kB / 0.7366 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-05/0.213, allocations: 67.39 kB / 0.7367 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2131, allocations: 0 / 0.7367 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2131, allocations: 4 kB / 0.7367 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.2131, allocations: 8 kB / 0.7367 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.2131, allocations: 3.938 kB / 0.7367 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.2135, allocations: 64.08 kB / 0.7367 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.2135, allocations: 15.98 kB / 0.7368 GB, free: 8.562 MB / 0.5606 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.0001742/0.2137, allocations: 153.1 kB / 0.7369 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.2137, allocations: 15.91 kB / 0.7369 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.2137, allocations: 21.02 kB / 0.7369 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2137, allocations: 4 kB / 0.7369 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2138, allocations: 4 kB / 0.7369 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2138, allocations: 0 / 0.7369 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.214, allocations: 165.2 kB / 0.7371 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.214, allocations: 11.88 kB / 0.7371 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.214, allocations: 4 kB / 0.7371 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.214, allocations: 3.938 kB / 0.7371 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.214, allocations: 3.984 kB / 0.7371 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.214, allocations: 0 / 0.7371 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.214, allocations: 4 kB / 0.7371 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.2142, allocations: 129.9 kB / 0.7373 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.2142, allocations: 19.84 kB / 0.7373 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2142, allocations: 0 / 0.7373 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.939e-05/0.2143, allocations: 4 kB / 0.7373 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.2143, allocations: 11.98 kB / 0.7373 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2143, allocations: 0 / 0.7373 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001509/0.2145, allocations: 148.2 kB / 0.7374 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2145, allocations: 0 / 0.7374 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002758/0.2147, allocations: 43.89 kB / 0.7375 GB, free: 7.77 MB / 0.5606 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.0001669/0.2149, allocations: 109.5 kB / 0.7376 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004473/0.2154, allocations: 302.1 kB / 0.7379 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2154, allocations: 0 / 0.7379 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.2154, allocations: 31.92 kB / 0.7379 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.2157, allocations: 42.34 kB / 0.7379 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.2164, allocations: 330.7 kB / 0.7382 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.2165, allocations: 119.6 kB / 0.7384 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.2165, allocations: 15.44 kB / 0.7384 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2165, allocations: 0 / 0.7384 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of Templates: time 0.005023/0.2216, allocations: 2.538 MB / 0.7409 GB, free: 4.238 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.412605637218803] Failed to read output from testmodel.py, exit status != 0: 0.2304886830970645 0.245191864 0.034869979 Calling exit ...