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.001926/0.001926, allocations: 78.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002564/0.002564, allocations: 168 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.603/1.603, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.33/1.33, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 3.657e-06/3.657e-06, allocations: 0 / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.667e-05/4.033e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00277/0.00281, allocations: 0.59 MB / 0.6191 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.005589, allocations: 1.131 MB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.005657, allocations: 2.844 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.694e-05/0.005694, allocations: 3.938 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.005798, allocations: 7.938 kB / 0.6202 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.006524, allocations: 118.4 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.006785, allocations: 91.81 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.006907, allocations: 9.594 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.007082, allocations: 55.84 kB / 0.6205 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.007217, allocations: 27.94 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.007253, allocations: 8 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-05/0.007353, allocations: 19.98 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.007377, allocations: 8.875 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.101e-05/0.007458, allocations: 23.97 kB / 0.6205 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.00773, allocations: 103.8 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.007735, allocations: 0 / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007736, allocations: 0 / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.007743, allocations: 0 / 0.6206 GB, free: 2.484 MB / 0.5294 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.0006821/0.008425, allocations: 307.9 kB / 0.6209 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.008481, allocations: 13.47 kB / 0.6209 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.008565, allocations: 8.922 kB / 0.6209 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.008742, allocations: 109.7 kB / 0.6211 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.008767, allocations: 4.375 kB / 0.6211 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.008792, allocations: 4.375 kB / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.008919, allocations: 42.25 kB / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.008931, allocations: 8.125 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.008942, allocations: 384 / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.008946, allocations: 384 / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.828e-05/0.009005, allocations: 7.938 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.009514, allocations: 236.5 kB / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/0.0096, allocations: 26.58 kB / 0.6214 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.009637, allocations: 20.91 kB / 0.6214 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.009649, allocations: 0 / 0.6214 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.009957, allocations: 63.33 kB / 0.6215 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 3.818e-06/0.009961, allocations: 4 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.00026/0.01022, allocations: 81.55 kB / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.01028, allocations: 51.41 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.01046, allocations: 109.8 kB / 0.6217 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.01049, allocations: 29.7 kB / 0.6217 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.01058, allocations: 96.06 kB / 0.6218 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.01059, allocations: 3.953 kB / 0.6218 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.329e-05/0.01067, allocations: 29.7 kB / 0.6218 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003641/0.01104, allocations: 318.8 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.01116, allocations: 61.69 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01128, allocations: 80.25 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.01143, allocations: 88.27 kB / 0.6224 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01143, allocations: 3.938 kB / 0.6224 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003255/0.01175, allocations: 177 kB / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.01181, allocations: 41.62 kB / 0.6226 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.01181, allocations: 4 kB / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01183, allocations: 0 / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.593e-05/0.01189, allocations: 4 kB / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.0119, allocations: 0 / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.01214, allocations: 35.92 kB / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.01217, allocations: 7.984 kB / 0.6226 GB, free: 216 kB / 0.5294 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 0.0001292/0.01229, allocations: 118.8 kB / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.01231, allocations: 3.938 kB / 0.6227 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.01235, allocations: 7.938 kB / 0.6227 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01236, allocations: 4 kB / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01236, allocations: 0 / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01237, allocations: 0 / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.01252, allocations: 109.3 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01252, allocations: 4 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.01254, allocations: 4 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01254, allocations: 0 / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.01255, allocations: 4.062 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.01256, allocations: 11.86 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01256, allocations: 4 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.01271, allocations: 81.08 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.01272, allocations: 4 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.01273, allocations: 0 / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.01275, allocations: 3.938 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.01279, allocations: 7.984 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.01279, allocations: 7.938 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.01286, allocations: 83.28 kB / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01286, allocations: 0 / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002221/0.01308, allocations: 19.98 kB / 0.6231 GB, free: 15.67 MB / 0.545 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.0001913/0.01327, allocations: 99.25 kB / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004554/0.01372, allocations: 149 kB / 0.6233 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01373, allocations: 0 / 0.6233 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.01376, allocations: 8 kB / 0.6233 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.01399, allocations: 16.11 kB / 0.6233 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.01436, allocations: 129.1 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.01453, allocations: 63.34 kB / 0.6235 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.15e-05/0.01455, allocations: 0 / 0.6235 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.01458, allocations: 12.5 kB / 0.6235 GB, free: 15.13 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.01458, allocations: 0 / 0.6235 GB, free: 15.13 MB / 0.545 GB Notification: Performance of Templates: time 0.004842/0.01943, allocations: 1.173 MB / 0.6247 GB, free: 14 MB / 0.545 GB " [Timeout remaining time 660] 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: 6.445258665829897] Failed to read output from testmodel.py, exit status != 0: 0.03096267580986023 0.047944546000000005 0.036684327 Calling exit ...