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.001131/0.001131, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001206/0.001206, allocations: 173 kB / 23.49 MB, free: 1.055 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.081/1.081, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.7973/0.7973, allocations: 154.8 MB / 415.1 MB, free: 472 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 2.535e-06/2.535e-06, allocations: 0 / 0.5205 GB, free: 2.309 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.333e-05, allocations: 4.281 kB / 0.5205 GB, free: 2.305 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001375/0.001409, allocations: 0.5921 MB / 0.5211 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.002662, allocations: 1.16 MB / 0.5223 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.002712, allocations: 0 / 0.5223 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.002742, allocations: 3.938 kB / 0.5223 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.002824, allocations: 15.86 kB / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.003281, allocations: 122 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.003444, allocations: 87.83 kB / 0.5225 GB, free: 352 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.003546, allocations: 4 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.003645, allocations: 51.94 kB / 0.5225 GB, free: 296 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.003747, allocations: 27.91 kB / 0.5226 GB, free: 268 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.00377, allocations: 8.562 kB / 0.5226 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.573e-05/0.003825, allocations: 20.48 kB / 0.5226 GB, free: 240 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.003847, allocations: 11.98 kB / 0.5226 GB, free: 228 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.003891, allocations: 20.86 kB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.004035, allocations: 79.77 kB / 0.5227 GB, free: 128 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.004038, allocations: 0.5312 kB / 0.5227 GB, free: 128 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004039, allocations: 1.469 kB / 0.5227 GB, free: 128 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.004045, allocations: 0 / 0.5227 GB, free: 128 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.0005411/0.004586, allocations: 402.3 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.004639, allocations: 8.031 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.004709, allocations: 9.875 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.004819, allocations: 116.5 kB / 0.5232 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.004841, allocations: 8.312 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.004858, allocations: 9.906 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.004958, allocations: 50.95 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.004964, allocations: 192 / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.004974, allocations: 384 / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.004984, allocations: 5.391 kB / 0.5233 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.23e-05/0.005017, allocations: 7.938 kB / 0.5233 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.005373, allocations: 279.8 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/0.005436, allocations: 35.69 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.005456, allocations: 13.03 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-06/0.005462, allocations: 0 / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.526e-05/0.005558, allocations: 69.03 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.005559, allocations: 0.625 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001972/0.005756, allocations: 74.47 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.005795, allocations: 51.41 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.005887, allocations: 165.9 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.005907, allocations: 30.2 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.005963, allocations: 135.6 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.005974, allocations: 3.953 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.006026, allocations: 41.39 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.006161, allocations: 0.4884 MB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.006239, allocations: 53.69 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.006307, allocations: 80.73 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.006392, allocations: 93.94 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.006394, allocations: 4 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002034/0.006597, allocations: 182.5 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.006638, allocations: 41.62 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006642, allocations: 0 / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.006656, allocations: 0 / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.006713, allocations: 4.5 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.00672, allocations: 0 / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.006843, allocations: 17.02 kB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.006863, allocations: 17.41 kB / 0.5251 GB, free: 13.4 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 9.265e-05/0.006955, allocations: 160.5 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.006966, allocations: 0.625 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.006992, allocations: 15.94 kB / 0.5253 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.006995, allocations: 0.5 kB / 0.5253 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.006999, allocations: 2.5 kB / 0.5253 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.007004, allocations: 3.984 kB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.97e-05/0.007093, allocations: 120.6 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.007095, allocations: 0 / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.007109, allocations: 3.984 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.007111, allocations: 0 / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.007118, allocations: 4 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.00712, allocations: 6.375 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007121, allocations: 0 / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.007225, allocations: 88.38 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.007237, allocations: 15.94 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.007249, allocations: 0 / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.007261, allocations: 3.938 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.007293, allocations: 4.281 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.007298, allocations: 1.75 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.007346, allocations: 135.2 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007346, allocations: 0 / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001509/0.007497, allocations: 19.94 kB / 0.5257 GB, free: 12.77 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.0001527/0.007649, allocations: 100.3 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.007835, allocations: 153.6 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.007837, allocations: 0 / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.007861, allocations: 26.92 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.008034, allocations: 13.59 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.008307, allocations: 134.2 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.008613, allocations: 55.36 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.008634, allocations: 0 / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.008653, allocations: 12.5 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/0.008655, allocations: 0 / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.003255/0.01191, allocations: 1.191 MB / 0.5273 GB, free: 11.09 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.937739936867729]