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.000873/0.000873, allocations: 72.5 kB / 19.92 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.0008837/0.0008837, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.9335/0.9335, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6338/0.6338, allocations: 114 MB / 373.9 MB, free: 8.719 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 2.936e-06/2.936e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.333e-05, allocations: 3.547 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00178/0.001803, allocations: 1.074 MB / 0.5552 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.003388, allocations: 1.532 MB / 0.5567 GB, free: 168 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.58e-05/0.003474, allocations: 7.938 kB / 0.5567 GB, free: 160 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.003604, allocations: 27.67 kB / 0.5568 GB, free: 132 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.631e-05/0.00369, allocations: 67.44 kB / 0.5568 GB, free: 64 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.00447, allocations: 497.3 kB / 0.5573 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00047/0.00494, allocations: 0.5932 MB / 0.5579 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.005245, allocations: 97 kB / 0.558 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.005569, allocations: 335.5 kB / 0.5583 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.005772, allocations: 167.6 kB / 0.5585 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.005836, allocations: 60 kB / 0.5585 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.005938, allocations: 75.97 kB / 0.5586 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.006019, allocations: 79.69 kB / 0.5587 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.006164, allocations: 175.6 kB / 0.5588 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.006681, allocations: 0.7051 MB / 0.5595 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.006685, allocations: 0 / 0.5595 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.344e-06/0.006687, allocations: 0 / 0.5595 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.006694, allocations: 0 / 0.5595 GB, free: 13.32 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.0008489/0.007543, allocations: 0.6794 MB / 0.5602 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.007588, allocations: 8.625 kB / 0.5602 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.007637, allocations: 58.73 kB / 0.5603 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.472e-05/0.007722, allocations: 44.75 kB / 0.5603 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.008351, allocations: 337.1 kB / 0.5606 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.008382, allocations: 28.88 kB / 0.5606 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.008434, allocations: 36.38 kB / 0.5607 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.008765, allocations: 377.1 kB / 0.561 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.008776, allocations: 4.125 kB / 0.561 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.008796, allocations: 16.36 kB / 0.5611 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.008804, allocations: 11.94 kB / 0.5611 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.008975, allocations: 157.9 kB / 0.5612 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009698/0.009945, allocations: 0.72 MB / 0.5619 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.0102, allocations: 206.8 kB / 0.5621 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.0104, allocations: 200.6 kB / 0.5623 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.01042, allocations: 4 kB / 0.5623 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.01073, allocations: 342.7 kB / 0.5626 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.025e-06/0.01074, allocations: 0 / 0.5626 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0005429/0.01128, allocations: 440.9 kB / 0.5631 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.01134, allocations: 114.8 kB / 0.5632 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.01159, allocations: 328.3 kB / 0.5635 GB, free: 9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.01163, allocations: 37.7 kB / 0.5635 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01174, allocations: 180.8 kB / 0.5637 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.01178, allocations: 63.58 kB / 0.5638 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.01192, allocations: 146 kB / 0.5639 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.01203, allocations: 346.7 kB / 0.5642 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.01234, allocations: 339.5 kB / 0.5645 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.01278, allocations: 0.4917 MB / 0.565 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.0132, allocations: 0.5272 MB / 0.5655 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.0132, allocations: 0 / 0.5655 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007739/0.01398, allocations: 0.8692 MB / 0.5664 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/0.01405, allocations: 134.8 kB / 0.5665 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01405, allocations: 4 kB / 0.5665 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.01407, allocations: 4 kB / 0.5665 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01422, allocations: 67.78 kB / 0.5666 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.01423, allocations: 4 kB / 0.5666 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.01458, allocations: 135.5 kB / 0.5667 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.01466, allocations: 63.92 kB / 0.5668 GB, free: 5.332 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.0001644/0.01482, allocations: 189.7 kB / 0.567 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.01485, allocations: 35.81 kB / 0.567 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.01528, allocations: 373.4 kB / 0.5674 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.01529, allocations: 4 kB / 0.5674 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.01529, allocations: 0 / 0.5674 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.0153, allocations: 0 / 0.5674 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/0.01594, allocations: 0.7047 MB / 0.568 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01594, allocations: 3.938 kB / 0.5681 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.603e-05/0.01602, allocations: 35.98 kB / 0.5681 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01602, allocations: 4 kB / 0.5681 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.01604, allocations: 15.92 kB / 0.5681 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.01604, allocations: 0 / 0.5681 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01604, allocations: 0 / 0.5681 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.01636, allocations: 424.7 kB / 0.5685 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.01639, allocations: 39.69 kB / 0.5685 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.01642, allocations: 11.94 kB / 0.5686 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.0165, allocations: 11.98 kB / 0.5686 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.01654, allocations: 19.97 kB / 0.5686 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.01655, allocations: 11.98 kB / 0.5686 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001384/0.01669, allocations: 219.1 kB / 0.5688 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.01669, allocations: 4 kB / 0.5688 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002777/0.01697, allocations: 91.89 kB / 0.5689 GB, free: 3.09 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.0006371/0.01761, allocations: 0.9838 MB / 0.5699 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006452/0.01825, allocations: 0.7506 MB / 0.5706 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01825, allocations: 0 / 0.5706 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.01838, allocations: 132.6 kB / 0.5707 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.01873, allocations: 89.12 kB / 0.5708 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.02233, allocations: 4.357 MB / 0.5751 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.02244, allocations: 170.2 kB / 0.5752 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000128/0.02256, allocations: 71.22 kB / 0.5753 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.02267, allocations: 120.5 kB / 0.5754 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of SimCode: time 7.31e-07/0.02267, allocations: 0 / 0.5754 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.04716, allocations: 9.737 MB / 0.5849 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.088, allocations: 3.859 kB / 0.5849 GB, free: 2.57 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.678013272583485] Failed to read output from testmodel.py, exit status != 0: 7.173122506588697 7.1819452440000005 7.173502101 Calling exit ...