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.0007595/0.0007595, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0008862/0.0008862, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.924/0.924, allocations: 230.6 MB / 256 MB, free: 9.621 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.7371/0.7371, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001418/0.001418, allocations: 67.08 kB / 0.7181 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5477, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001583/0.5493, allocations: 0.5963 MB / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.5504, allocations: 1.134 MB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.5505, allocations: 1.562 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.5505, allocations: 0.5156 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.723e-05/0.5506, allocations: 18.31 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.5511, allocations: 118.4 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.5512, allocations: 90.58 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.5513, allocations: 4.766 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.5514, allocations: 40.84 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.5515, allocations: 27.31 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.5516, allocations: 8.406 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.43e-05/0.5516, allocations: 20.62 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.5516, allocations: 3.453 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.5517, allocations: 40.28 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.5519, allocations: 82.14 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5519, allocations: 0.5625 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5519, allocations: 2.562 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.5519, allocations: 0 / 0.8199 GB, free: 15.66 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.0004196/0.5523, allocations: 302.9 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5524, allocations: 10.09 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.5524, allocations: 35.39 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.5524, allocations: 6.656 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.299e-05/0.5525, allocations: 113.5 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.5525, allocations: 7.609 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.5526, allocations: 5.281 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.281e-05/0.5527, allocations: 42.53 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5527, allocations: 3.938 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.5527, allocations: 0.6094 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5527, allocations: 0 / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.5527, allocations: 5.312 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.5531, allocations: 252.2 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.953e-05/0.5532, allocations: 33.59 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.5532, allocations: 8.422 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.5532, allocations: 4.969 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.5534, allocations: 59.06 kB / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.5534, allocations: 0 / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001877/0.5536, allocations: 73.41 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.5536, allocations: 53.48 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.5537, allocations: 118.9 kB / 0.821 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.5537, allocations: 33.33 kB / 0.821 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.5538, allocations: 84.62 kB / 0.8211 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.5538, allocations: 16.67 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.5539, allocations: 29.58 kB / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.5539, allocations: 318.8 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.554, allocations: 60.53 kB / 0.8215 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.062e-05/0.5541, allocations: 86.61 kB / 0.8216 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.559e-05/0.5542, allocations: 90.66 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5542, allocations: 1.375 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001957/0.5544, allocations: 178.1 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.5544, allocations: 35.14 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5544, allocations: 4.766 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.5544, allocations: 5.625 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.5545, allocations: 3.891 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5545, allocations: 0 / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.5546, allocations: 30.84 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.5547, allocations: 8.969 kB / 0.8219 GB, free: 13.72 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.496e-05/0.5547, allocations: 119.9 kB / 0.822 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-06/0.5547, allocations: 3.234 kB / 0.822 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.5548, allocations: 8.609 kB / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5548, allocations: 5.688 kB / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5548, allocations: 0.6562 kB / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5548, allocations: 0 / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.465e-05/0.5549, allocations: 135.2 kB / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5549, allocations: 0 / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.5549, allocations: 1.531 kB / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.5549, allocations: 0.9844 kB / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.5549, allocations: 2.125 kB / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5549, allocations: 0 / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5549, allocations: 0 / 0.8222 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.37e-05/0.555, allocations: 99.69 kB / 0.8223 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.555, allocations: 5.281 kB / 0.8223 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.555, allocations: 1.5 kB / 0.8223 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.159e-05/0.555, allocations: 3.938 kB / 0.8223 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.555, allocations: 6.609 kB / 0.8223 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.555, allocations: 0 / 0.8223 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.009e-05/0.5551, allocations: 86.27 kB / 0.8224 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5551, allocations: 0 / 0.8224 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001418/0.5552, allocations: 19.75 kB / 0.8224 GB, free: 13.25 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.0003232/0.5555, allocations: 0.6288 MB / 0.823 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.5558, allocations: 147.9 kB / 0.8232 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5558, allocations: 0 / 0.8232 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.902e-05/0.5558, allocations: 12.17 kB / 0.8232 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.556, allocations: 13.61 kB / 0.8232 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.5571, allocations: 1.515 MB / 0.8247 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.049e-05/0.5572, allocations: 63.28 kB / 0.8247 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.5572, allocations: 3.531 kB / 0.8247 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.5572, allocations: 19.55 kB / 0.8247 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.5572, allocations: 0 / 0.8247 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.5756, allocations: 2.619 MB / 0.8273 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/7.256, allocations: 16.38 kB / 0.8273 GB, free: 10.11 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.140380877070129] Failed to read output from testmodel.py, exit status != 0: 7.336582166142762 7.348793414 6.794073046 Calling exit ...