Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001585/0.001585, 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.001709/0.001709, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.538/1.538, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.397/1.397, allocations: 154.6 MB / 414.2 MB, free: 0.6289 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.217e-06/3.217e-06, allocations: 0.875 kB / 0.5196 GB, free: 1.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.553e-05/3.874e-05, allocations: 2.312 kB / 0.5196 GB, free: 1.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002206/0.002245, allocations: 0.582 MB / 0.5202 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.004321, allocations: 1.133 MB / 0.5213 GB, free: 15.78 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.004385, allocations: 1.766 kB / 0.5213 GB, free: 15.78 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.004424, allocations: 4.5 kB / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.822e-05/0.004523, allocations: 2.578 kB / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.005131, allocations: 121.4 kB / 0.5214 GB, free: 15.66 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.005356, allocations: 95.81 kB / 0.5215 GB, free: 15.56 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.005465, allocations: 4 kB / 0.5215 GB, free: 15.56 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.005617, allocations: 47.91 kB / 0.5215 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.005732, allocations: 32.47 kB / 0.5216 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.005764, allocations: 8.969 kB / 0.5216 GB, free: 15.47 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.929e-05/0.005843, allocations: 19.98 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.005867, allocations: 4 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.191e-05/0.005939, allocations: 29.81 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.006173, allocations: 99.77 kB / 0.5217 GB, free: 15.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.006179, allocations: 4 kB / 0.5217 GB, free: 15.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006181, allocations: 0 / 0.5217 GB, free: 15.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.006186, allocations: 0 / 0.5217 GB, free: 15.32 MB / 458.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.000599/0.006785, allocations: 304.9 kB / 0.522 GB, free: 14.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.006829, allocations: 8.031 kB / 0.522 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.006911, allocations: 17.73 kB / 0.522 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.007054, allocations: 105.8 kB / 0.5221 GB, free: 14.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.007086, allocations: 8.359 kB / 0.5222 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.00711, allocations: 9.469 kB / 0.5222 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.007238, allocations: 46.19 kB / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.007247, allocations: 192 / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.007258, allocations: 1.812 kB / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.007263, allocations: 384 / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.007316, allocations: 11.94 kB / 0.5222 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.007786, allocations: 224.6 kB / 0.5224 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.007868, allocations: 27.36 kB / 0.5225 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.007897, allocations: 9.703 kB / 0.5225 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.007913, allocations: 3.938 kB / 0.5225 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.008114, allocations: 62.3 kB / 0.5225 GB, free: 14.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.008115, allocations: 0 / 0.5225 GB, free: 14.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002696/0.008384, allocations: 77.61 kB / 0.5226 GB, free: 14.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.00844, allocations: 51.41 kB / 0.5227 GB, free: 14.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.008654, allocations: 117.7 kB / 0.5228 GB, free: 14.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.008689, allocations: 33.7 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.008771, allocations: 84.14 kB / 0.5229 GB, free: 13.99 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.008786, allocations: 4.453 kB / 0.5229 GB, free: 13.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/0.008872, allocations: 37.7 kB / 0.5229 GB, free: 13.94 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.00905, allocations: 319.6 kB / 0.5232 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.009163, allocations: 57.69 kB / 0.5233 GB, free: 13.56 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.009305, allocations: 85.08 kB / 0.5234 GB, free: 13.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.009451, allocations: 89.17 kB / 0.5234 GB, free: 13.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.009453, allocations: 0 / 0.5234 GB, free: 13.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003354/0.009788, allocations: 190 kB / 0.5236 GB, free: 13.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.009842, allocations: 42.75 kB / 0.5237 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.009849, allocations: 0 / 0.5237 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.009871, allocations: 0 / 0.5237 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.009938, allocations: 4.5 kB / 0.5237 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.009945, allocations: 0 / 0.5237 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.01016, allocations: 32.89 kB / 0.5237 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.0102, allocations: 13.2 kB / 0.5237 GB, free: 13.06 MB / 458.7 MB 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.0001248/0.01032, allocations: 113.8 kB / 0.5238 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.01034, allocations: 4.625 kB / 0.5238 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.01037, allocations: 11.94 kB / 0.5238 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.01038, allocations: 5.344 kB / 0.5238 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01038, allocations: 0 / 0.5238 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.01038, allocations: 0 / 0.5238 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.01051, allocations: 109.3 kB / 0.524 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01051, allocations: 4.469 kB / 0.524 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.01053, allocations: 4.75 kB / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01053, allocations: 0 / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.01054, allocations: 5.141 kB / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01055, allocations: 3.938 kB / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01055, allocations: 0 / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.0107, allocations: 93.3 kB / 0.5241 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.01071, allocations: 0.9688 kB / 0.5241 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.01073, allocations: 4 kB / 0.5241 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.01075, allocations: 8.953 kB / 0.5241 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.01078, allocations: 0 / 0.5241 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.01079, allocations: 4 kB / 0.5241 GB, free: 12.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.588e-05/0.01086, allocations: 88.64 kB / 0.5242 GB, free: 12.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01086, allocations: 0 / 0.5242 GB, free: 12.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.01107, allocations: 16 kB / 0.5242 GB, free: 12.54 MB / 458.7 MB 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.0001893/0.01126, allocations: 99.84 kB / 0.5243 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.01154, allocations: 146.2 kB / 0.5244 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01154, allocations: 0 / 0.5244 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.01158, allocations: 18.69 kB / 0.5244 GB, free: 12.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01181, allocations: 7.984 kB / 0.5244 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.0122, allocations: 139.1 kB / 0.5246 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.01228, allocations: 67.2 kB / 0.5246 GB, free: 12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.01231, allocations: 2.562 kB / 0.5246 GB, free: 12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.01234, allocations: 12.5 kB / 0.5246 GB, free: 11.99 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01234, allocations: 0 / 0.5246 GB, free: 11.99 MB / 458.7 MB Notification: Performance of Templates: time 0.004702/0.01704, allocations: 1.178 MB / 0.5258 GB, free: 10.88 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.126221762038767]