Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0008917/0.0008917, 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.0009055/0.0009055, 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.8919/0.8919, 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.5477/0.5477, allocations: 114 MB / 373.9 MB, free: 8.715 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.Conversions.Validation.BooleanToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.396e-05, allocations: 5.781 kB / 0.5542 GB, free: 1.695 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001224/0.001248, allocations: 0.5742 MB / 0.5547 GB, free: 1.125 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002319, allocations: 1.131 MB / 0.5558 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.002358, allocations: 0 / 0.5558 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.002385, allocations: 11.92 kB / 0.5558 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.86e-05/0.002444, allocations: 7.938 kB / 0.5558 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.002819, allocations: 122.3 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.00294, allocations: 95.81 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.124e-05/0.003021, allocations: 0 / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.003101, allocations: 47.97 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.003178, allocations: 27.94 kB / 0.5561 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.003198, allocations: 8 kB / 0.5561 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.19e-05/0.00325, allocations: 23.98 kB / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.003267, allocations: 3.938 kB / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.003306, allocations: 35.92 kB / 0.5562 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003443, allocations: 99.75 kB / 0.5563 GB, free: 15.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.003446, allocations: 4 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.003447, allocations: 0 / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.003451, allocations: 3.938 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003462/0.003798, allocations: 296 kB / 0.5566 GB, free: 15.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.003837, allocations: 8.625 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.66e-05/0.003864, allocations: 34.75 kB / 0.5566 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.0039, allocations: 12.92 kB / 0.5566 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.35e-05/0.003974, allocations: 109.8 kB / 0.5567 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.003993, allocations: 4.375 kB / 0.5567 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.004007, allocations: 12.36 kB / 0.5568 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.004093, allocations: 42.19 kB / 0.5568 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004101, allocations: 192 / 0.5568 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.004108, allocations: 384 / 0.5568 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004114, allocations: 8.125 kB / 0.5568 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.00415, allocations: 11.94 kB / 0.5568 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.004453, allocations: 248 kB / 0.5571 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.004501, allocations: 22.64 kB / 0.5571 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.004517, allocations: 12.84 kB / 0.5571 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.004527, allocations: 8 kB / 0.5571 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.004645, allocations: 75.27 kB / 0.5572 GB, free: 14.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.004647, allocations: 0 / 0.5572 GB, free: 14.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001568/0.004803, allocations: 65.64 kB / 0.5572 GB, free: 14.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.004916, allocations: 55.41 kB / 0.5573 GB, free: 14.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.004975, allocations: 109.8 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.004991, allocations: 25.7 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.005036, allocations: 84.14 kB / 0.5575 GB, free: 14.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.005047, allocations: 11.95 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.005091, allocations: 33.69 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.005158, allocations: 310.8 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.005225, allocations: 69.62 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.00529, allocations: 84.56 kB / 0.558 GB, free: 13.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.417e-05/0.005364, allocations: 84.25 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005366, allocations: 0 / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001768/0.005543, allocations: 184.9 kB / 0.5582 GB, free: 13.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.00557, allocations: 37.69 kB / 0.5583 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.005575, allocations: 0 / 0.5583 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.005586, allocations: 7.938 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.937e-05/0.005636, allocations: 8 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.005642, allocations: 8.062 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.005761, allocations: 27.97 kB / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.005774, allocations: 7.984 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 5.834e-05/0.005832, allocations: 109.8 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-06/0.005839, allocations: 7.938 kB / 0.5584 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/0.005858, allocations: 8 kB / 0.5584 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00586, allocations: 0 / 0.5584 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.005865, allocations: 8.062 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005868, allocations: 0 / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.539e-05/0.005944, allocations: 132.7 kB / 0.5586 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005945, allocations: 3.938 kB / 0.5586 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.005961, allocations: 11.92 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005963, allocations: 0 / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.005968, allocations: 0 / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005969, allocations: 0 / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00597, allocations: 0 / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.127e-05/0.006051, allocations: 93.28 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.006058, allocations: 3.938 kB / 0.5587 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.006069, allocations: 11.98 kB / 0.5587 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.006078, allocations: 0 / 0.5587 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.0061, allocations: 0 / 0.5587 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.006105, allocations: 4 kB / 0.5587 GB, free: 12.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.959e-05/0.006134, allocations: 87.27 kB / 0.5588 GB, free: 12.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006134, allocations: 0 / 0.5588 GB, free: 12.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.006275, allocations: 23.89 kB / 0.5588 GB, free: 12.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002582/0.006533, allocations: 0.6241 MB / 0.5594 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.006694, allocations: 137.1 kB / 0.5596 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.006696, allocations: 4.125 kB / 0.5596 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.092e-05/0.006717, allocations: 15.92 kB / 0.5596 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.006875, allocations: 14.58 kB / 0.5596 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009909/0.007866, allocations: 1.519 MB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.9e-05/0.007905, allocations: 63.34 kB / 0.5611 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.044e-05/0.007925, allocations: 7.984 kB / 0.5611 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.007955, allocations: 12.5 kB / 0.5611 GB, free: 10.01 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.007955, allocations: 4 kB / 0.5612 GB, free: 10.01 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.02406, allocations: 2.773 MB / 0.5639 GB, free: 7.426 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/6.782, allocations: 6.516 kB / 0.5639 GB, free: 7.422 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.142215707339346] Failed to read output from testmodel.py, exit status != 0: 6.867407616227865 6.877495027 6.872306743 Calling exit ...