Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.0008405/0.0008405, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001365/0.001365, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8865/0.8865, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5554/0.5554, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.547e-06/3.547e-06, allocations: 0 / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.785e-05, allocations: 8.031 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001852/0.00188, allocations: 1.073 MB / 0.5552 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.00408, allocations: 1.536 MB / 0.5567 GB, free: 156 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.004185, allocations: 4 kB / 0.5567 GB, free: 152 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.004326, allocations: 31.61 kB / 0.5568 GB, free: 120 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.482e-05/0.004421, allocations: 67.44 kB / 0.5568 GB, free: 52 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009426/0.005363, allocations: 495.3 kB / 0.5573 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.005935, allocations: 0.5892 MB / 0.5579 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.006142, allocations: 101 kB / 0.558 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.006409, allocations: 339.4 kB / 0.5583 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.006588, allocations: 171.5 kB / 0.5585 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.006643, allocations: 60 kB / 0.5585 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.006735, allocations: 71.98 kB / 0.5586 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.006805, allocations: 75.7 kB / 0.5587 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.006934, allocations: 171.7 kB / 0.5588 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.007487, allocations: 0.7051 MB / 0.5595 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00749, allocations: 0 / 0.5595 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.795e-06/0.007493, allocations: 0 / 0.5595 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.007502, allocations: 7.938 kB / 0.5595 GB, free: 13.31 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009695/0.008472, allocations: 0.6678 MB / 0.5602 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.008509, allocations: 12.62 kB / 0.5602 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.008552, allocations: 62.72 kB / 0.5603 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.008623, allocations: 44.75 kB / 0.5603 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.009177, allocations: 337.1 kB / 0.5606 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.009202, allocations: 24.88 kB / 0.5606 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.009246, allocations: 36.38 kB / 0.5607 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.009534, allocations: 385 kB / 0.561 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.009543, allocations: 4.188 kB / 0.561 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.009559, allocations: 12.36 kB / 0.5611 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.009567, allocations: 11.94 kB / 0.5611 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.00972, allocations: 153.9 kB / 0.5612 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.01051, allocations: 0.7239 MB / 0.5619 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.01072, allocations: 202.8 kB / 0.5621 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.01088, allocations: 203.5 kB / 0.5623 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.01089, allocations: 7.938 kB / 0.5623 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.01112, allocations: 334.8 kB / 0.5626 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.012e-06/0.01112, allocations: 0 / 0.5626 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0004559/0.01157, allocations: 445 kB / 0.5631 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.01162, allocations: 110.8 kB / 0.5632 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.01182, allocations: 328.3 kB / 0.5635 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.01186, allocations: 41.7 kB / 0.5635 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.01196, allocations: 188.7 kB / 0.5637 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.01199, allocations: 55.58 kB / 0.5638 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.01211, allocations: 146 kB / 0.5639 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.01221, allocations: 350.7 kB / 0.5642 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.01248, allocations: 335.5 kB / 0.5645 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.0128, allocations: 499.6 kB / 0.565 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.01319, allocations: 0.5272 MB / 0.5655 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01319, allocations: 0 / 0.5655 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007088/0.0139, allocations: 0.8805 MB / 0.5664 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/0.01396, allocations: 122.8 kB / 0.5665 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.01396, allocations: 4 kB / 0.5665 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01398, allocations: 7.984 kB / 0.5665 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.0141, allocations: 59.84 kB / 0.5666 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.01411, allocations: 7.984 kB / 0.5666 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.01442, allocations: 139.9 kB / 0.5667 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.01448, allocations: 67.92 kB / 0.5668 GB, free: 5.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0003675/0.01485, allocations: 189.7 kB / 0.567 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.01488, allocations: 27.81 kB / 0.567 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.01522, allocations: 373.5 kB / 0.5674 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01522, allocations: 4 kB / 0.5674 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01522, allocations: 0 / 0.5674 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01523, allocations: 3.938 kB / 0.5674 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.01574, allocations: 0.7085 MB / 0.5681 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01575, allocations: 0 / 0.5681 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.662e-05/0.01581, allocations: 43.92 kB / 0.5681 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.01581, allocations: 0 / 0.5681 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01583, allocations: 11.94 kB / 0.5681 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01583, allocations: 4 kB / 0.5681 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01583, allocations: 0 / 0.5681 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.01611, allocations: 424.7 kB / 0.5685 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.01614, allocations: 39.69 kB / 0.5686 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.01616, allocations: 11.94 kB / 0.5686 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.01622, allocations: 8 kB / 0.5686 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.01626, allocations: 23.95 kB / 0.5686 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.01627, allocations: 12 kB / 0.5686 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001227/0.01639, allocations: 219 kB / 0.5688 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01639, allocations: 0 / 0.5688 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002463/0.01664, allocations: 95.89 kB / 0.5689 GB, free: 3.078 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00049/0.01713, allocations: 0.9916 MB / 0.5699 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005407/0.01767, allocations: 0.7421 MB / 0.5706 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01767, allocations: 0 / 0.5706 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.01778, allocations: 136.6 kB / 0.5707 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.01819, allocations: 85.83 kB / 0.5708 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.02159, allocations: 4.349 MB / 0.5751 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.952e-05/0.02169, allocations: 170.2 kB / 0.5752 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.0218, allocations: 79.2 kB / 0.5753 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.02189, allocations: 112.5 kB / 0.5754 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.02189, allocations: 4 kB / 0.5754 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.04239, allocations: 9.734 MB / 0.5849 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.036, allocations: 12.66 kB / 0.5849 GB, free: 2.562 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_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_IntegerExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.593272250145674] Failed to read output from testmodel.py, exit status != 0: 7.124858494848013 7.139682241 7.12939473 Calling exit ...