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.001923/0.001923, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002057/0.002057, allocations: 177.2 kB / 22.77 MB, free: 1.66 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 1.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-535:34: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-535:42: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.364/1.364, allocations: 154.8 MB / 414.4 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 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 1.824e-06/1.824e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.02e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001957/0.001987, allocations: 0.6081 MB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.003804, allocations: 1.134 MB / 0.5215 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.003859, allocations: 1.406 kB / 0.5215 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.003887, allocations: 11.86 kB / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.003953, allocations: 0 / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.004468, allocations: 120.5 kB / 0.5217 GB, free: 484 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.004664, allocations: 95.81 kB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.082e-05/0.004745, allocations: 5.531 kB / 0.5218 GB, free: 384 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.004879, allocations: 47.91 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004986, allocations: 31.94 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.005016, allocations: 8 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.005089, allocations: 17.02 kB / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.005112, allocations: 11.94 kB / 0.5219 GB, free: 268 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.005176, allocations: 23.92 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.005387, allocations: 100.5 kB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.00539, allocations: 1.281 kB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005391, allocations: 0 / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.005396, allocations: 0 / 0.522 GB, free: 144 kB / 490.7 MB 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.0006247/0.00602, allocations: 401.9 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.006063, allocations: 12.66 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.00613, allocations: 5.906 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.006276, allocations: 124.5 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.006299, allocations: 384 / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.006319, allocations: 4.875 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.006435, allocations: 46.91 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.006445, allocations: 192 / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.006455, allocations: 2.438 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.00646, allocations: 384 / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.109e-05/0.006511, allocations: 11.94 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.006989, allocations: 283.8 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.869e-05/0.007078, allocations: 42.94 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.007105, allocations: 8.875 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.007119, allocations: 4.062 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.007251, allocations: 65.05 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.007252, allocations: 1.469 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.000251/0.007503, allocations: 85.5 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.007555, allocations: 55.41 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.007722, allocations: 173.9 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.007751, allocations: 30.55 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.007849, allocations: 134.9 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.007862, allocations: 5.453 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.007941, allocations: 35.36 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002779/0.008219, allocations: 0.4923 MB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.008343, allocations: 69.69 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.008481, allocations: 97.23 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.008651, allocations: 101.7 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008654, allocations: 0.9688 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003439/0.008997, allocations: 201 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.009047, allocations: 38.25 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.009055, allocations: 4.062 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.009073, allocations: 4.828 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.009129, allocations: 5.344 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.009134, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.009304, allocations: 15.98 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.009331, allocations: 13.8 kB / 0.5245 GB, free: 13.34 MB / 0.4948 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.0001417/0.009472, allocations: 160.6 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.009487, allocations: 7.922 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.009534, allocations: 15.94 kB / 0.5246 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009536, allocations: 2.562 kB / 0.5246 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.00954, allocations: 0 / 0.5246 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.009546, allocations: 3.984 kB / 0.5246 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.009681, allocations: 120.6 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009683, allocations: 0 / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.009707, allocations: 7.984 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.009709, allocations: 0 / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.009717, allocations: 6.375 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.009721, allocations: 3.938 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009722, allocations: 0 / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.009881, allocations: 100.4 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.009894, allocations: 7.984 kB / 0.5249 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.009907, allocations: 0 / 0.5249 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.009923, allocations: 5.625 kB / 0.5249 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.009961, allocations: 7.938 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.009966, allocations: 0 / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.371e-05/0.01006, allocations: 139.5 kB / 0.525 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01006, allocations: 0 / 0.525 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002036/0.01026, allocations: 13.03 kB / 0.525 GB, free: 12.69 MB / 0.4948 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.0001823/0.01045, allocations: 108.1 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.01074, allocations: 168.8 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01074, allocations: 3.25 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.01079, allocations: 31.61 kB / 0.5253 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.01099, allocations: 6.188 kB / 0.5253 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.01132, allocations: 142.1 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.431e-05/0.01141, allocations: 63.34 kB / 0.5255 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.01143, allocations: 4 kB / 0.5255 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.01145, allocations: 11.53 kB / 0.5255 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01145, allocations: 0 / 0.5255 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.004415/0.01587, allocations: 1.181 MB / 0.5267 GB, free: 10.98 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.245755024952814]