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.0006135/0.0006135, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0007699/0.0007699, allocations: 203.8 kB / 23 MB, free: 3.125 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.9139/0.9139, allocations: 230.6 MB / 256.8 MB, free: 3.445 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.7192/0.7192, allocations: 203.8 MB / 0.5049 GB, free: 0.6836 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: translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [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.001396/0.001396, allocations: 67.89 kB / 0.7194 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4958, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001419/0.4972, allocations: 0.5961 MB / 0.8196 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.4983, allocations: 1.154 MB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.4984, allocations: 0.9375 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.4984, allocations: 4.531 kB / 0.8208 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.4984, allocations: 6.391 kB / 0.8208 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.4988, allocations: 125.3 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.499, allocations: 91.28 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.4991, allocations: 3.703 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.4991, allocations: 38.86 kB / 0.821 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.4992, allocations: 32.02 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.4992, allocations: 11.88 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.301e-05/0.4993, allocations: 25.95 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.4993, allocations: 7.391 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.4994, allocations: 27.09 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.4995, allocations: 86.09 kB / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4995, allocations: 2.906 kB / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4995, allocations: 0 / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.4996, allocations: 0 / 0.8212 GB, free: 23.82 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.0003234/0.4999, allocations: 309.1 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4999, allocations: 12.19 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.5, allocations: 5.375 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.725e-05/0.5, allocations: 114.1 kB / 0.8216 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.5, allocations: 8.75 kB / 0.8216 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.5001, allocations: 6.297 kB / 0.8217 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.186e-05/0.5001, allocations: 42.94 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5001, allocations: 1.031 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5002, allocations: 5.328 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5002, allocations: 0.9688 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.5002, allocations: 7.797 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.5005, allocations: 261.4 kB / 0.822 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.5006, allocations: 28 kB / 0.822 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.5006, allocations: 12.91 kB / 0.822 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.5006, allocations: 8.094 kB / 0.822 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.5007, allocations: 62.47 kB / 0.8221 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.5007, allocations: 4.969 kB / 0.8221 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001864/0.5009, allocations: 73.88 kB / 0.8221 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.501, allocations: 53.05 kB / 0.8222 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.501, allocations: 114.6 kB / 0.8223 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.501, allocations: 28.02 kB / 0.8223 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.5011, allocations: 87.84 kB / 0.8224 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.5011, allocations: 10.86 kB / 0.8224 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.5011, allocations: 29.16 kB / 0.8224 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.5012, allocations: 318.1 kB / 0.8228 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.5012, allocations: 28.91 kB / 0.8228 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.5013, allocations: 50.11 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.853e-05/0.5014, allocations: 90.12 kB / 0.8229 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5014, allocations: 3.938 kB / 0.8229 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000197/0.5016, allocations: 158.4 kB / 0.8231 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.5016, allocations: 39.48 kB / 0.8231 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.5016, allocations: 1.281 kB / 0.8231 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5017, allocations: 1.031 kB / 0.8231 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/0.5017, allocations: 3.344 kB / 0.8231 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.5017, allocations: 1.281 kB / 0.8231 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.5018, allocations: 32.38 kB / 0.8231 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.5019, allocations: 6.734 kB / 0.8231 GB, free: 22.04 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.379e-05/0.5019, allocations: 120 kB / 0.8233 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.5019, allocations: 2.75 kB / 0.8233 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.5019, allocations: 10.09 kB / 0.8233 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5019, allocations: 1.188 kB / 0.8233 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5019, allocations: 0 / 0.8233 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5019, allocations: 5.125 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.981e-05/0.502, allocations: 138.6 kB / 0.8234 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.502, allocations: 0.7969 kB / 0.8234 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.502, allocations: 6.125 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.502, allocations: 0.6875 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.502, allocations: 1.406 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.502, allocations: 2.219 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.502, allocations: 64 / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.478e-05/0.5021, allocations: 99.11 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.5021, allocations: 5.469 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.5022, allocations: 2.25 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.191e-05/0.5022, allocations: 1.219 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.5022, allocations: 2.781 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.5022, allocations: 3.078 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.373e-05/0.5022, allocations: 87.02 kB / 0.8236 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5022, allocations: 0 / 0.8236 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001429/0.5024, allocations: 14.31 kB / 0.8236 GB, free: 21.56 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.0001136/0.5025, allocations: 102.6 kB / 0.8237 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.5027, allocations: 116.9 kB / 0.8238 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5027, allocations: 0 / 0.8238 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.5027, allocations: 13.64 kB / 0.8239 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.5029, allocations: 18.11 kB / 0.8239 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.5032, allocations: 156.6 kB / 0.824 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.984e-05/0.5032, allocations: 0.6837 MB / 0.8247 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.5033, allocations: 9.781 kB / 0.8247 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/0.5033, allocations: 0 / 0.8247 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.002809/0.5061, allocations: 0.9353 MB / 0.8256 GB, free: 20.44 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.516514253104106] Failed to read output from testmodel.py, exit status != 0: 0.513434638036415 0.521722704 0.020259016 Calling exit ...