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.0008591/0.0008591, 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.0008626/0.0008626, allocations: 173.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.9292/0.9292, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.6102/0.6102, allocations: 114 MB / 373.9 MB, free: 8.688 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.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 3.186e-06/3.186e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.293e-05, allocations: 5.125 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001463/0.001486, allocations: 0.8369 MB / 0.555 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.002874, allocations: 1.318 MB / 0.5563 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.002937, allocations: 0 / 0.5563 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.003041, allocations: 19.8 kB / 0.5563 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.003107, allocations: 27.73 kB / 0.5563 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006057/0.003713, allocations: 276.6 kB / 0.5566 GB, free: 308 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.004083, allocations: 327.4 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.004221, allocations: 41.61 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.004399, allocations: 191.7 kB / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.004582, allocations: 87.75 kB / 0.5572 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.004618, allocations: 28 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.004703, allocations: 47.92 kB / 0.5573 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.004763, allocations: 47.83 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.004841, allocations: 87.81 kB / 0.5574 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.005143, allocations: 386.9 kB / 0.5578 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005145, allocations: 4 kB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.31e-07/0.005146, allocations: 0 / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.005151, allocations: 0 / 0.5578 GB, free: 15.07 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005341/0.005685, allocations: 490.9 kB / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.005726, allocations: 8.625 kB / 0.5583 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.005759, allocations: 42.73 kB / 0.5583 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/0.006004, allocations: 68.77 kB / 0.5584 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.00641, allocations: 241.4 kB / 0.5586 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.00643, allocations: 16.38 kB / 0.5586 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.006457, allocations: 20.38 kB / 0.5586 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.00663, allocations: 145.6 kB / 0.5588 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.006637, allocations: 192 / 0.5588 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.00665, allocations: 8.375 kB / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.006656, allocations: 3.938 kB / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.006743, allocations: 67.89 kB / 0.5588 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.007285, allocations: 0.6719 MB / 0.5595 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.816e-05/0.007353, allocations: 61.23 kB / 0.5596 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.007383, allocations: 21.78 kB / 0.5596 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.007393, allocations: 7.938 kB / 0.5596 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.007529, allocations: 101 kB / 0.5597 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.00753, allocations: 0 / 0.5597 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0002182/0.007749, allocations: 133.9 kB / 0.5598 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.007787, allocations: 81.11 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.00793, allocations: 211.8 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.007955, allocations: 33.7 kB / 0.5601 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.008035, allocations: 144.2 kB / 0.5603 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.00805, allocations: 27.81 kB / 0.5603 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.008124, allocations: 61.69 kB / 0.5604 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.008216, allocations: 326.8 kB / 0.5607 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.00835, allocations: 131.4 kB / 0.5608 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.0085, allocations: 243.3 kB / 0.561 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.008658, allocations: 194.2 kB / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.00866, allocations: 0 / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003391/0.009, allocations: 368.1 kB / 0.5616 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.009043, allocations: 65.27 kB / 0.5616 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.00905, allocations: 8 kB / 0.5616 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.009063, allocations: 0 / 0.5616 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/0.009114, allocations: 11.94 kB / 0.5616 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.009123, allocations: 7.984 kB / 0.5616 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.009308, allocations: 60.08 kB / 0.5617 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.009329, allocations: 12 kB / 0.5617 GB, free: 10.65 MB / 0.5261 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.0001106/0.009439, allocations: 146.4 kB / 0.5619 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.00946, allocations: 23.83 kB / 0.5619 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.009492, allocations: 17.03 kB / 0.5619 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009494, allocations: 4 kB / 0.5619 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.009499, allocations: 0 / 0.5619 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.009504, allocations: 4 kB / 0.5619 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.009635, allocations: 192.7 kB / 0.5621 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.009638, allocations: 3.938 kB / 0.5621 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.009652, allocations: 7.938 kB / 0.5621 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.009655, allocations: 0 / 0.5621 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.009662, allocations: 3.984 kB / 0.5621 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009664, allocations: 4 kB / 0.5621 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009665, allocations: 0 / 0.5621 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.009786, allocations: 133.8 kB / 0.5622 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.009803, allocations: 23.84 kB / 0.5623 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.009816, allocations: 4 kB / 0.5623 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.675e-05/0.009832, allocations: 3.938 kB / 0.5623 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.00986, allocations: 11.92 kB / 0.5623 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.009867, allocations: 8 kB / 0.5623 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.06e-05/0.009948, allocations: 153.4 kB / 0.5624 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.009948, allocations: 0 / 0.5624 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001917/0.01014, allocations: 43.89 kB / 0.5625 GB, free: 9.805 MB / 0.5261 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.0003239/0.01046, allocations: 0.6757 MB / 0.5631 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.01073, allocations: 302 kB / 0.5634 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01073, allocations: 0 / 0.5634 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.01077, allocations: 27.94 kB / 0.5634 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.01096, allocations: 35.83 kB / 0.5635 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.01298, allocations: 2.44 MB / 0.5659 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.741e-05/0.01306, allocations: 112.1 kB / 0.566 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.626e-05/0.01311, allocations: 25.47 kB / 0.566 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.01317, allocations: 56.47 kB / 0.566 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/0.01317, allocations: 0 / 0.566 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.03176, allocations: 5.186 MB / 0.5711 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/6.912, allocations: 2.031 kB / 0.5711 GB, free: 0.918 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.531265104189515] Failed to read output from testmodel.py, exit status != 0: 6.994902222417295 7.008246937 7.00137088 Calling exit ...