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.0007776/0.0007776, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0008756/0.0008756, allocations: 162 kB / 22.43 MB, free: 2.145 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.882/0.882, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.6854/0.6854, allocations: 155 MB / 414.2 MB, free: 464 kB / 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: 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.001025/0.001025, allocations: 71.89 kB / 0.6186 GB, free: 13.23 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4432, allocations: 102 MB / 0.7182 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001374/0.4445, allocations: 0.589 MB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.4458, allocations: 1.139 MB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.4458, allocations: 0 / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.4459, allocations: 4.594 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.4459, allocations: 5.5 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.4464, allocations: 117 kB / 0.72 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.4465, allocations: 93.95 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.4466, allocations: 12.45 kB / 0.7201 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.4467, allocations: 50.61 kB / 0.7202 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.4468, allocations: 27.19 kB / 0.7202 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.4468, allocations: 8.469 kB / 0.7202 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-05/0.4469, allocations: 23.64 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.4469, allocations: 3.156 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.447, allocations: 34.95 kB / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.4471, allocations: 102.6 kB / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.4471, allocations: 1.797 kB / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4471, allocations: 0 / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4472, allocations: 0 / 0.7204 GB, free: 21.75 MB / 0.6355 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.000357/0.4475, allocations: 312.1 kB / 0.7207 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4475, allocations: 16.34 kB / 0.7207 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.795e-05/0.4476, allocations: 31.36 kB / 0.7207 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.4476, allocations: 5.656 kB / 0.7207 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.7e-05/0.4477, allocations: 111.2 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4477, allocations: 2.781 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.4477, allocations: 5.812 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.125e-05/0.4478, allocations: 39.5 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4478, allocations: 3.938 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4478, allocations: 2.031 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4478, allocations: 4 kB / 0.7209 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.2e-05/0.4478, allocations: 10.53 kB / 0.7209 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.4481, allocations: 250.8 kB / 0.7211 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.4482, allocations: 30.34 kB / 0.7212 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.4482, allocations: 11.62 kB / 0.7212 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.4482, allocations: 5.109 kB / 0.7212 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.4484, allocations: 59.75 kB / 0.7212 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4484, allocations: 5.156 kB / 0.7212 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001741/0.4486, allocations: 68.72 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.4486, allocations: 61.11 kB / 0.7214 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.307e-05/0.4486, allocations: 114.7 kB / 0.7215 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.4486, allocations: 28.73 kB / 0.7215 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.4487, allocations: 92 kB / 0.7216 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.868e-06/0.4487, allocations: 5.531 kB / 0.7216 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.4487, allocations: 31.23 kB / 0.7216 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.92e-05/0.4488, allocations: 317.6 kB / 0.7219 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.4488, allocations: 60.73 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.4489, allocations: 80.41 kB / 0.7221 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.309e-05/0.449, allocations: 92.8 kB / 0.7221 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.449, allocations: 1.031 kB / 0.7221 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001796/0.4491, allocations: 182.9 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.4492, allocations: 38.52 kB / 0.7224 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4492, allocations: 1.578 kB / 0.7224 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4492, allocations: 1.344 kB / 0.7224 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.4492, allocations: 4.094 kB / 0.7224 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4493, allocations: 5 kB / 0.7224 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.4494, allocations: 35.56 kB / 0.7224 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.4494, allocations: 6.562 kB / 0.7224 GB, free: 19.81 MB / 0.6355 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 5.139e-05/0.4495, allocations: 120.8 kB / 0.7225 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.4495, allocations: 3.094 kB / 0.7225 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.4495, allocations: 4.656 kB / 0.7225 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4495, allocations: 1.344 kB / 0.7225 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4495, allocations: 0.6094 kB / 0.7225 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4495, allocations: 1.219 kB / 0.7225 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.644e-05/0.4496, allocations: 135.9 kB / 0.7227 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4496, allocations: 1.156 kB / 0.7227 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.4496, allocations: 6.266 kB / 0.7227 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4496, allocations: 1.344 kB / 0.7227 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.4496, allocations: 4.719 kB / 0.7227 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4496, allocations: 2.047 kB / 0.7227 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4496, allocations: 0 / 0.7227 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.076e-05/0.4497, allocations: 92.44 kB / 0.7228 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.4497, allocations: 2.875 kB / 0.7228 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.4497, allocations: 1.781 kB / 0.7228 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/0.4497, allocations: 4 kB / 0.7228 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.4497, allocations: 4.141 kB / 0.7228 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4497, allocations: 5 kB / 0.7228 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.192e-05/0.4498, allocations: 87 kB / 0.7229 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4498, allocations: 5 kB / 0.7229 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001522/0.4499, allocations: 19.7 kB / 0.7229 GB, free: 19.34 MB / 0.6355 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.0002048/0.4501, allocations: 0.6284 MB / 0.7235 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.4503, allocations: 136.7 kB / 0.7236 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4503, allocations: 0.9688 kB / 0.7236 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.4503, allocations: 17.94 kB / 0.7237 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.4505, allocations: 14.59 kB / 0.7237 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.4513, allocations: 1.515 MB / 0.7251 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.251e-05/0.4514, allocations: 67.53 kB / 0.7252 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.4514, allocations: 3.609 kB / 0.7252 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.4514, allocations: 15.97 kB / 0.7252 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4514, allocations: 0 / 0.7252 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.4683, allocations: 2.759 MB / 0.7279 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.56/7.028, allocations: 1.938 kB / 0.7279 GB, free: 16.18 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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: 9.680119916796684] Failed to read output from testmodel.py, exit status != 0: 7.104406422004104 7.114368933 6.665433577 Calling exit ...