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.0007817/0.0007817, 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.0008195/0.0008195, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9133/0.9133, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7258/0.7258, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.314e-06/2.314e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.961e-05, allocations: 6.281 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001195/0.001214, allocations: 0.5907 MB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.002367, allocations: 1.131 MB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.002424, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.002456, allocations: 7.938 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.002524, allocations: 3.984 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.002952, allocations: 123 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.003102, allocations: 91.83 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.003193, allocations: 11.97 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.003283, allocations: 47.91 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.003363, allocations: 19.97 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003382, allocations: 8 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.752e-05/0.00344, allocations: 23.97 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.00346, allocations: 8 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.003511, allocations: 31.91 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.003657, allocations: 99.77 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003659, allocations: 0 / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.22e-07/0.00366, allocations: 0 / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.003663, allocations: 0 / 0.6202 GB, free: 11.55 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.0004333/0.004097, allocations: 300 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.004144, allocations: 9.469 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.004173, allocations: 30.75 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.004219, allocations: 4.938 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.004311, allocations: 121.6 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.004335, allocations: 12.38 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.004353, allocations: 8.359 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.004464, allocations: 38.25 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004472, allocations: 4.188 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.004482, allocations: 4.312 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.00449, allocations: 4.125 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.572e-05/0.004526, allocations: 4 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.004895, allocations: 252 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.229e-05/0.004958, allocations: 26.58 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.855e-05/0.004976, allocations: 8.859 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.004985, allocations: 4.062 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.005118, allocations: 67.33 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.005119, allocations: 0 / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001999/0.005319, allocations: 77.56 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.005358, allocations: 55.41 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.005426, allocations: 105.8 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.005446, allocations: 29.7 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.005493, allocations: 84.14 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.005503, allocations: 11.89 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.005548, allocations: 29.7 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.005641, allocations: 322.8 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.005716, allocations: 61.69 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.005789, allocations: 80.25 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/0.005874, allocations: 80.22 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005876, allocations: 0 / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001801/0.006056, allocations: 192.9 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.006093, allocations: 33.7 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.006106, allocations: 4.219 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.006119, allocations: 8.062 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.006186, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.006194, allocations: 4 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.00633, allocations: 23.97 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.006345, allocations: 8.047 kB / 0.6222 GB, free: 9.23 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 7.207e-05/0.006417, allocations: 118.8 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.006426, allocations: 15.92 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.006453, allocations: 4 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006455, allocations: 4 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.00646, allocations: 0 / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.006465, allocations: 4 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.473e-05/0.006549, allocations: 140.6 kB / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.02e-07/0.00655, allocations: 0 / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-06/0.00656, allocations: 7.938 kB / 0.6225 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.006561, allocations: 0 / 0.6225 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.006568, allocations: 0 / 0.6225 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006569, allocations: 0 / 0.6225 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006569, allocations: 4 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.717e-05/0.006666, allocations: 85.05 kB / 0.6225 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.006676, allocations: 15.88 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.006688, allocations: 0 / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.127e-05/0.0067, allocations: 0 / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.006735, allocations: 7.984 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.00674, allocations: 4 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.006776, allocations: 83.66 kB / 0.6227 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006776, allocations: 0 / 0.6227 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001448/0.006921, allocations: 23.95 kB / 0.6227 GB, free: 8.645 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.0003552/0.007276, allocations: 0.6203 MB / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.007461, allocations: 149 kB / 0.6234 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.007463, allocations: 4 kB / 0.6234 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/0.007487, allocations: 12 kB / 0.6234 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.007657, allocations: 10.39 kB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.00905, allocations: 1.511 MB / 0.6249 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.009096, allocations: 63.34 kB / 0.625 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.452e-05/0.00912, allocations: 4.125 kB / 0.625 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.009155, allocations: 12.5 kB / 0.625 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.009156, allocations: 0 / 0.625 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.0283, allocations: 2.77 MB / 0.6277 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/6.84, allocations: 10.56 kB / 0.6277 GB, free: 3.488 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 & /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.590885599143803] Failed to read output from testmodel.py, exit status != 0: 6.920762529596686 6.934201864 6.928804968 Calling exit ...