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.001383/0.001383, allocations: 88.72 kB / 19.44 MB, free: 356 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.001597/0.001597, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.206/1.206, allocations: 154.8 MB / 414.3 MB, free: 456 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 2.064e-06/2.064e-06, allocations: 0 / 0.5198 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.522e-05, allocations: 3.859 kB / 0.5198 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001831/0.001866, allocations: 0.5918 MB / 0.5204 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.003633, allocations: 1.136 MB / 0.5215 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.003678, allocations: 0 / 0.5215 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.003707, allocations: 2 kB / 0.5215 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.003786, allocations: 7.875 kB / 0.5215 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.004287, allocations: 115.6 kB / 0.5216 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.004472, allocations: 100.3 kB / 0.5217 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.004555, allocations: 4 kB / 0.5217 GB, free: 336 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.004664, allocations: 44.53 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.004765, allocations: 35.94 kB / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.004792, allocations: 8 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.004862, allocations: 20.55 kB / 0.5218 GB, free: 232 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.004885, allocations: 7.938 kB / 0.5218 GB, free: 224 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.004941, allocations: 21.42 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.00516, allocations: 103.7 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005163, allocations: 0 / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005164, allocations: 0 / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005168, allocations: 0.7812 kB / 0.522 GB, free: 100 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.0005455/0.005713, allocations: 300 kB / 0.5222 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.005752, allocations: 8.906 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.005821, allocations: 16.86 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.00596, allocations: 116.8 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.005995, allocations: 8.375 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.006017, allocations: 4.375 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.006132, allocations: 42.25 kB / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.006141, allocations: 192 / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.006151, allocations: 384 / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.006156, allocations: 384 / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.006202, allocations: 7.938 kB / 0.5224 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.006643, allocations: 233 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.115e-05/0.006714, allocations: 23.73 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.006745, allocations: 12.92 kB / 0.5227 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.006757, allocations: 0 / 0.5227 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.006924, allocations: 60.36 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006925, allocations: 0 / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002478/0.007173, allocations: 86.47 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.007227, allocations: 51.41 kB / 0.5229 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.007339, allocations: 109.8 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.007367, allocations: 30.7 kB / 0.523 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.007451, allocations: 88.14 kB / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.007462, allocations: 4.891 kB / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.007539, allocations: 33.7 kB / 0.5231 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003035/0.007842, allocations: 322.8 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.007961, allocations: 58.91 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.00808, allocations: 80.25 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.008217, allocations: 88.83 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008219, allocations: 1.781 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003159/0.008535, allocations: 188.9 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.008588, allocations: 45.62 kB / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.008593, allocations: 0 / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.008613, allocations: 1.375 kB / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.008674, allocations: 4 kB / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.008683, allocations: 3.938 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.008902, allocations: 29.84 kB / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.008926, allocations: 7.984 kB / 0.5239 GB, free: 13.85 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.0001155/0.009041, allocations: 117.8 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.009055, allocations: 4.719 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.009085, allocations: 11.94 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.009087, allocations: 0.5625 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.009091, allocations: 0.5 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.009094, allocations: 0 / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.009213, allocations: 114.5 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.009214, allocations: 0 / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.009231, allocations: 4 kB / 0.5242 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.009232, allocations: 1.812 kB / 0.5242 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.009244, allocations: 4.219 kB / 0.5242 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.009248, allocations: 3.938 kB / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009249, allocations: 0 / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.009392, allocations: 93 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-06/0.009399, allocations: 1.719 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.009416, allocations: 8 kB / 0.5243 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.009435, allocations: 7.922 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.009468, allocations: 0 / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.009477, allocations: 6.75 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.009543, allocations: 91.64 kB / 0.5244 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009544, allocations: 0 / 0.5244 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002228/0.009766, allocations: 16 kB / 0.5244 GB, free: 13.32 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.0001686/0.009935, allocations: 99.19 kB / 0.5245 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.0102, allocations: 150.9 kB / 0.5246 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.0102, allocations: 0 / 0.5246 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.01024, allocations: 12 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01044, allocations: 7.984 kB / 0.5247 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.01079, allocations: 141.4 kB / 0.5248 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.212e-05/0.01086, allocations: 64.06 kB / 0.5249 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.01088, allocations: 3.938 kB / 0.5249 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.0109, allocations: 14.91 kB / 0.5249 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of SimCode: time 3.1e-07/0.0109, allocations: 0 / 0.5249 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.004086/0.01499, allocations: 1.178 MB / 0.526 GB, free: 11.67 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=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.984637574991211]