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.0007564/0.0007564, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001197/0.001197, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9236/0.9236, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.716/0.716, allocations: 154.5 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.783e-05, allocations: 8.062 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001597/0.001625, allocations: 0.5918 MB / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.002782, allocations: 1.131 MB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.002824, allocations: 4 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.00285, allocations: 0 / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.002917, allocations: 11.88 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.003321, allocations: 123.4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.003454, allocations: 91.81 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.00354, allocations: 7.984 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.096e-05/0.003621, allocations: 43.97 kB / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.003703, allocations: 27.91 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.003726, allocations: 11.98 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.003782, allocations: 23.92 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.003802, allocations: 4 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.003847, allocations: 27.97 kB / 0.6201 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.004001, allocations: 103.8 kB / 0.6202 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004003, allocations: 4 kB / 0.6202 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.393e-06/0.004004, allocations: 0 / 0.6202 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.004009, allocations: 0 / 0.6202 GB, free: 11.59 MB / 0.5886 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.0003955/0.004404, allocations: 303.9 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.004452, allocations: 9.469 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.004481, allocations: 30.75 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.004515, allocations: 4.938 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.223e-05/0.004598, allocations: 113.7 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.004615, allocations: 8.359 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.004636, allocations: 8.375 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.521e-05/0.004721, allocations: 34.25 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.004729, allocations: 4.188 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.004738, allocations: 4.375 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.004744, allocations: 4.125 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/0.004782, allocations: 8 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.005125, allocations: 244 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.66e-05/0.005181, allocations: 30.52 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.005199, allocations: 8.859 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.005209, allocations: 4.062 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.005351, allocations: 67.33 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.005352, allocations: 7.938 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001689/0.00552, allocations: 73.56 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.005556, allocations: 59.41 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.005621, allocations: 105.8 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.005639, allocations: 25.7 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.005682, allocations: 92.08 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.005693, allocations: 7.953 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.005737, allocations: 29.7 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.005823, allocations: 318.8 kB / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.005895, allocations: 61.69 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/0.005962, allocations: 80.25 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.761e-05/0.006039, allocations: 92.19 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006042, allocations: 0 / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001857/0.006227, allocations: 184.9 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.006258, allocations: 41.69 kB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006262, allocations: 0 / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.006274, allocations: 4 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-05/0.006322, allocations: 0 / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.006327, allocations: 4 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.006454, allocations: 31.97 kB / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.006467, allocations: 4.062 kB / 0.6222 GB, free: 9.262 MB / 0.5886 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 6.736e-05/0.006534, allocations: 122.8 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.006544, allocations: 12.17 kB / 0.6223 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.006567, allocations: 7.984 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.006569, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.006575, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006578, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.995e-05/0.006658, allocations: 140.7 kB / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006659, allocations: 0 / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.006671, allocations: 7.938 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.006672, allocations: 0 / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.00668, allocations: 0 / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.006682, allocations: 3.984 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006683, allocations: 4 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.981e-05/0.006763, allocations: 77.12 kB / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.006771, allocations: 15.83 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.006782, allocations: 0 / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-06/0.006789, allocations: 3.938 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.006813, allocations: 7.984 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.00682, allocations: 8 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.006852, allocations: 83.66 kB / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006852, allocations: 0 / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000159/0.007011, allocations: 23.98 kB / 0.6227 GB, free: 8.676 MB / 0.5886 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.0002828/0.007294, allocations: 0.6202 MB / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.007459, allocations: 141 kB / 0.6234 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.007462, allocations: 4 kB / 0.6234 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.007483, allocations: 16.11 kB / 0.6234 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.007635, allocations: 10.41 kB / 0.6234 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.008671, allocations: 1.51 MB / 0.6249 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.008714, allocations: 67.34 kB / 0.625 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.008735, allocations: 4 kB / 0.625 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.008767, allocations: 16.48 kB / 0.625 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of SimCode: time 5.92e-07/0.008768, allocations: 0 / 0.625 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.02727, allocations: 2.767 MB / 0.6277 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.188, allocations: 4 kB / 0.6277 GB, free: 3.52 MB / 0.5886 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.09593444969505] Failed to read output from testmodel.py, exit status != 0: 7.268299538642168 7.276250676 7.270605263 Calling exit ...