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.0009779/0.0009779, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001175/0.001175, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9071/0.9071, allocations: 177.1 MB / 203.7 MB, free: 5.5 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-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 0.7584/0.7584, allocations: 154.9 MB / 415.1 MB, free: 268 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 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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.573e-05, allocations: 4.328 kB / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001773/0.001799, allocations: 0.593 MB / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.003349, allocations: 1.165 MB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.003397, allocations: 0 / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.003424, allocations: 0 / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.322e-05/0.003498, allocations: 13.58 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.003951, allocations: 123.6 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.004106, allocations: 83.83 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.004188, allocations: 13.41 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.004297, allocations: 51.89 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.004395, allocations: 27.95 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.004421, allocations: 8 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.004486, allocations: 16.73 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.00451, allocations: 7.984 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.004551, allocations: 29.39 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.004694, allocations: 75.83 kB / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004697, allocations: 0 / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004698, allocations: 0 / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.004702, allocations: 1.344 kB / 0.5232 GB, free: 15.35 MB / 0.4948 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.0004061/0.005108, allocations: 402.3 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.005149, allocations: 12.03 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.005192, allocations: 5.594 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/0.005285, allocations: 120.5 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.005307, allocations: 11.61 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.005326, allocations: 8.375 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/0.005414, allocations: 46.95 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.005421, allocations: 192 / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.005428, allocations: 384 / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005434, allocations: 384 / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.005456, allocations: 7.938 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.005766, allocations: 264.4 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.368e-05/0.005819, allocations: 35.61 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.005835, allocations: 11.62 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.005841, allocations: 0.625 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.699e-05/0.005938, allocations: 61.92 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.00594, allocations: 0 / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001609/0.006101, allocations: 70.98 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.006131, allocations: 51.41 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.006222, allocations: 169.9 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.006244, allocations: 33.69 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.006305, allocations: 135.8 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.006315, allocations: 3.953 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.006378, allocations: 40.59 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.006508, allocations: 496.1 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.006578, allocations: 49.67 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.006657, allocations: 84.92 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.95e-05/0.006747, allocations: 86 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006749, allocations: 0 / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002208/0.00697, allocations: 169.8 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.007008, allocations: 38.98 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.007013, allocations: 48 / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.007031, allocations: 11.92 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.539e-05/0.007077, allocations: 6.766 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.007081, allocations: 4 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.007209, allocations: 19.92 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.007225, allocations: 4 kB / 0.5256 GB, free: 12.68 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 8.522e-05/0.00731, allocations: 164.6 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.007323, allocations: 4 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.007348, allocations: 6.75 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.007351, allocations: 3.938 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.007354, allocations: 4 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007357, allocations: 0 / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.329e-05/0.007451, allocations: 109.2 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007452, allocations: 0 / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.00747, allocations: 4 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.007472, allocations: 0.875 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.007476, allocations: 0 / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.007478, allocations: 3.938 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007479, allocations: 0.9688 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.007589, allocations: 96.3 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.007597, allocations: 4.906 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.007608, allocations: 4.062 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.007623, allocations: 0 / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.007644, allocations: 8.469 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.007651, allocations: 9.453 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.007698, allocations: 127.6 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.007698, allocations: 0 / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002189/0.007917, allocations: 23.89 kB / 0.5261 GB, free: 12.07 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.0001231/0.00804, allocations: 101.7 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.008215, allocations: 144.7 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008216, allocations: 0 / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.611e-05/0.008243, allocations: 19.67 kB / 0.5264 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.008433, allocations: 6.781 kB / 0.5264 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.008688, allocations: 134.2 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.00872, allocations: 51.36 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.008744, allocations: 7.984 kB / 0.5266 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.008836, allocations: 82.19 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.008836, allocations: 4.781 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.003603/0.01244, allocations: 1.29 MB / 0.5279 GB, free: 10.23 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: 3.392707244027406]