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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 107.6 kB / 17.07 MB, free: 5.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 198.6 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.106/1.106, allocations: 147.6 MB / 445.5 MB, free: 8.438 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.225/0.225, allocations: 61.17 kB / 0.6109 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.3673, allocations: 83.15 MB / 0.6921 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001928/0.3692, allocations: 0.5883 MB / 0.6927 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3708, allocations: 1.109 MB / 0.6937 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.3709, allocations: 0 / 0.6937 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.3709, allocations: 0 / 0.6937 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.371, allocations: 13.09 kB / 0.6937 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.3716, allocations: 123.5 kB / 0.6939 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.3718, allocations: 98.06 kB / 0.694 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.3719, allocations: 15.77 kB / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.3719, allocations: 29.05 kB / 0.694 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3721, allocations: 36.84 kB / 0.694 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.3721, allocations: 8.438 kB / 0.694 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.383e-05/0.3722, allocations: 21.36 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.3722, allocations: 1.812 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.3723, allocations: 33.52 kB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.3724, allocations: 88.28 kB / 0.6942 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3724, allocations: 0 / 0.6942 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3724, allocations: 0 / 0.6942 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3725, allocations: 4 kB / 0.6942 GB, free: 11.73 MB / 0.5137 GB 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.0005181/0.373, allocations: 377.7 kB / 0.6945 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.373, allocations: 13.52 kB / 0.6946 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.3731, allocations: 38.69 kB / 0.6946 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.3731, allocations: 5.062 kB / 0.6946 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3733, allocations: 171 kB / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.3733, allocations: 2.156 kB / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.3733, allocations: 10 kB / 0.6948 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.3734, allocations: 39.78 kB / 0.6948 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3735, allocations: 7.938 kB / 0.6948 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3735, allocations: 0 / 0.6948 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3735, allocations: 1.062 kB / 0.6948 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.3735, allocations: 12.73 kB / 0.6948 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.374, allocations: 288.2 kB / 0.6951 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.1e-05/0.374, allocations: 33.78 kB / 0.6951 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.3741, allocations: 8.422 kB / 0.6951 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.3741, allocations: 4 kB / 0.6952 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.3742, allocations: 59.95 kB / 0.6952 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.3742, allocations: 0 / 0.6952 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0002048/0.3744, allocations: 76.45 kB / 0.6953 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.3745, allocations: 51.41 kB / 0.6953 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.3746, allocations: 111 kB / 0.6954 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3746, allocations: 31.55 kB / 0.6955 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.3747, allocations: 91.69 kB / 0.6956 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.3747, allocations: 9.703 kB / 0.6956 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/0.3748, allocations: 34.23 kB / 0.6956 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3749, allocations: 310.8 kB / 0.6959 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.375, allocations: 32.27 kB / 0.6959 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.126e-05/0.3751, allocations: 48.89 kB / 0.696 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.3752, allocations: 97.55 kB / 0.6961 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3752, allocations: 1.375 kB / 0.6961 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002726/0.3755, allocations: 152.9 kB / 0.6962 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.3756, allocations: 32.58 kB / 0.6962 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3756, allocations: 5.375 kB / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3756, allocations: 1.375 kB / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.3756, allocations: 5.359 kB / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3757, allocations: 1.375 kB / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.3759, allocations: 28.53 kB / 0.6963 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3759, allocations: 13.44 kB / 0.6963 GB, free: 9.59 MB / 0.5137 GB 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 9.274e-05/0.376, allocations: 113.9 kB / 0.6964 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.376, allocations: 2.75 kB / 0.6964 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.376, allocations: 12.12 kB / 0.6964 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3761, allocations: 5.359 kB / 0.6964 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3761, allocations: 0 / 0.6964 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3761, allocations: 5.375 kB / 0.6964 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.3762, allocations: 176.3 kB / 0.6966 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3762, allocations: 0 / 0.6966 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.3763, allocations: 2.75 kB / 0.6966 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3763, allocations: 0 / 0.6966 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3763, allocations: 1.375 kB / 0.6966 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3763, allocations: 0 / 0.6966 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3763, allocations: 0 / 0.6966 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.3764, allocations: 93.62 kB / 0.6967 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.3765, allocations: 86.42 kB / 0.6968 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3765, allocations: 1.375 kB / 0.6968 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.495e-05/0.3765, allocations: 0 / 0.6968 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.3765, allocations: 2.75 kB / 0.6968 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.3765, allocations: 1.375 kB / 0.6968 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.3766, allocations: 88.77 kB / 0.6969 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3766, allocations: 0 / 0.6969 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002161/0.3768, allocations: 15.12 kB / 0.6969 GB, free: 8.957 MB / 0.5137 GB 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.000436/0.3773, allocations: 0.6279 MB / 0.6975 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.3775, allocations: 125.8 kB / 0.6976 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3775, allocations: 0 / 0.6976 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.641e-05/0.3776, allocations: 21.55 kB / 0.6976 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.3778, allocations: 9.625 kB / 0.6976 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.3793, allocations: 1.379 MB / 0.699 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3796, allocations: 0.6832 MB / 0.6997 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.571e-05/0.3796, allocations: 2.281 kB / 0.6997 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.3797, allocations: 12.59 kB / 0.6997 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.3797, allocations: 5.125 kB / 0.6997 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.4027, allocations: 2.008 MB / 0.7016 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.21, allocations: 7.516 kB / 0.7016 GB, free: 4.766 MB / 0.5137 GB " [Timeout remaining time 652] (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: 11.692489164182916] Failed to read output from testmodel.py, exit status != 0: 8.274835892952979 8.288517202 7.91341763 Calling exit ...