Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001223/0.001223, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001619/0.001619, allocations: 221.7 kB / 22.26 MB, free: 3.695 MB / 13.93 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.9488/0.9488, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8376/0.8376, allocations: 203.8 MB / 0.5042 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 70.36 kB / 0.7182 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/0.5705, allocations: 102 MB / 0.8178 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00154/0.5721, allocations: 0.5961 MB / 0.8184 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.5731, allocations: 1.16 MB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.5732, allocations: 0 / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.5732, allocations: 3.938 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.5733, allocations: 11.06 kB / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.5737, allocations: 124.7 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.5738, allocations: 83.98 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.5739, allocations: 10.03 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.574, allocations: 37.09 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.5741, allocations: 29.78 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.5741, allocations: 11.97 kB / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.5742, allocations: 25.91 kB / 0.8199 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.5742, allocations: 4.031 kB / 0.8199 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.5742, allocations: 33.3 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.5744, allocations: 89.08 kB / 0.82 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.5744, allocations: 0 / 0.82 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5744, allocations: 0.5625 kB / 0.82 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5744, allocations: 0 / 0.82 GB, free: 15.86 MB / 0.6198 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.0004188/0.5748, allocations: 307.3 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5749, allocations: 12.53 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.5749, allocations: 31.45 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.575, allocations: 9.188 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.611e-05/0.575, allocations: 112.2 kB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.5751, allocations: 1.969 kB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.5751, allocations: 6.188 kB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.883e-05/0.5752, allocations: 39.34 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.5752, allocations: 3.938 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.5752, allocations: 0.5625 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5752, allocations: 1.969 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.553e-05/0.5752, allocations: 13.59 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.5756, allocations: 260.8 kB / 0.8208 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.691e-05/0.5757, allocations: 38.31 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.5757, allocations: 16.81 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.5757, allocations: 0 / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.5759, allocations: 65.97 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5759, allocations: 0 / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001669/0.576, allocations: 70.3 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.5761, allocations: 51.41 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.5762, allocations: 122 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.5762, allocations: 29.14 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.5762, allocations: 81.92 kB / 0.8212 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.5762, allocations: 16.14 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.5763, allocations: 33.52 kB / 0.8213 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/0.5764, allocations: 312.9 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/0.5764, allocations: 34.14 kB / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.5765, allocations: 53.05 kB / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.687e-05/0.5766, allocations: 89.91 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5766, allocations: 4 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001977/0.5768, allocations: 147.5 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.5768, allocations: 41.38 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5769, allocations: 0 / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5769, allocations: 3.469 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.817e-05/0.5769, allocations: 4.078 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.5769, allocations: 0.8438 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.5771, allocations: 26.66 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.5771, allocations: 12.17 kB / 0.822 GB, free: 14.02 MB / 0.6198 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 7.721e-05/0.5772, allocations: 122 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.5772, allocations: 2.094 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.5772, allocations: 5.547 kB / 0.8221 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5772, allocations: 2.406 kB / 0.8221 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5772, allocations: 4.719 kB / 0.8221 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5772, allocations: 0 / 0.8221 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.531e-05/0.5773, allocations: 139.8 kB / 0.8222 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5773, allocations: 0 / 0.8222 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.5773, allocations: 5.266 kB / 0.8222 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5773, allocations: 1.688 kB / 0.8222 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.5773, allocations: 0.5156 kB / 0.8222 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.5773, allocations: 2.406 kB / 0.8222 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5773, allocations: 0.6562 kB / 0.8222 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.5774, allocations: 91.91 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.5774, allocations: 3.938 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.5775, allocations: 5.438 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/0.5775, allocations: 7.266 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.5775, allocations: 1.875 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.5775, allocations: 2.438 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.504e-05/0.5775, allocations: 85.86 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5775, allocations: 0 / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001529/0.5777, allocations: 16.16 kB / 0.8224 GB, free: 13.55 MB / 0.6198 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.0006103/0.5783, allocations: 0.6302 MB / 0.8231 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.5785, allocations: 112.5 kB / 0.8232 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5785, allocations: 3.469 kB / 0.8232 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.5785, allocations: 18.31 kB / 0.8232 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.5787, allocations: 7.562 kB / 0.8232 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.5798, allocations: 1.401 MB / 0.8246 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.58, allocations: 0.6786 MB / 0.8252 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.513e-05/0.58, allocations: 0.6562 kB / 0.8252 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.5801, allocations: 15.34 kB / 0.8252 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.5801, allocations: 0 / 0.8252 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.6001, allocations: 2.124 MB / 0.8273 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.785/7.385, allocations: 5.484 kB / 0.8273 GB, free: 10.4 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.569544593105093] Failed to read output from testmodel.py, exit status != 0: 7.465455097146332 7.481140142 6.903492902 Calling exit ...