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.0008817/0.0008817, allocations: 90.05 kB / 19.87 MB, free: 4.605 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.0009231/0.0009231, allocations: 165.7 kB / 23.27 MB, free: 1.215 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.9027/0.9027, allocations: 177.1 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7591/0.7591, allocations: 154.6 MB / 414.8 MB, free: 488 kB / 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 179] 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 1.323e-06/1.323e-06, allocations: 0 / 0.5207 GB, free: 1.918 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.456e-05, allocations: 3.188 kB / 0.5207 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001113/0.001127, allocations: 0.584 MB / 0.5213 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.002162, allocations: 1.162 MB / 0.5224 GB, free: 180 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.002204, allocations: 0 / 0.5224 GB, free: 180 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.002231, allocations: 4.875 kB / 0.5225 GB, free: 176 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.0023, allocations: 8.688 kB / 0.5225 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.002666, allocations: 125 kB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.002796, allocations: 91.89 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.385e-05/0.00287, allocations: 5.156 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.002955, allocations: 47.88 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.003035, allocations: 31.89 kB / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.003053, allocations: 8 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.627e-05/0.0031, allocations: 16.62 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.003118, allocations: 17.25 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.003147, allocations: 19.98 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.003256, allocations: 75.78 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003258, allocations: 0 / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003258, allocations: 0.5 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.985e-06/0.003261, allocations: 1.062 kB / 0.5229 GB, free: 15.74 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.0003119/0.003573, allocations: 410.2 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.003606, allocations: 12.03 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.003636, allocations: 5.469 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.252e-05/0.003699, allocations: 118.5 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.003712, allocations: 384 / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.003726, allocations: 12.31 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.422e-05/0.00379, allocations: 46.95 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.003797, allocations: 4.172 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-06/0.003802, allocations: 384 / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003808, allocations: 1.781 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.003824, allocations: 11.92 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.004042, allocations: 260.4 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.746e-05/0.004079, allocations: 36.47 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.132e-05/0.00409, allocations: 11.67 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.004096, allocations: 0 / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.938e-05/0.004165, allocations: 66.08 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.004166, allocations: 0 / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001178/0.004284, allocations: 65.52 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.004309, allocations: 56.38 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.004371, allocations: 165.9 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.004385, allocations: 29.7 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.004429, allocations: 140.3 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.004438, allocations: 11.94 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.004484, allocations: 35.34 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.004584, allocations: 496.1 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.004627, allocations: 54.17 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.654e-05/0.004674, allocations: 77.77 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.916e-05/0.004733, allocations: 85.81 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004735, allocations: 0 / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001404/0.004875, allocations: 169.6 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.004901, allocations: 37.69 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004905, allocations: 1.953 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.004922, allocations: 7.938 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.708e-05/0.004959, allocations: 0 / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.004962, allocations: 0 / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/0.005058, allocations: 25.78 kB / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.00507, allocations: 12.06 kB / 0.5252 GB, free: 13.07 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 6.783e-05/0.005138, allocations: 164.5 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.005145, allocations: 5.031 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.005168, allocations: 11.98 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.005171, allocations: 3.938 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.005172, allocations: 0.9375 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.005176, allocations: 4 kB / 0.5254 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.443e-05/0.00524, allocations: 104.5 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.005241, allocations: 0 / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-06/0.00525, allocations: 7.984 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.005251, allocations: 0 / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.005254, allocations: 0 / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005256, allocations: 3.984 kB / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005256, allocations: 0 / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.119e-05/0.005328, allocations: 88.38 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-06/0.005335, allocations: 8.234 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.005343, allocations: 10.92 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-06/0.005352, allocations: 4 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.005372, allocations: 11.92 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.005379, allocations: 0 / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.005415, allocations: 127.2 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005415, allocations: 3.938 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001368/0.005552, allocations: 19.94 kB / 0.5258 GB, free: 12.45 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 9.42e-05/0.005646, allocations: 104.8 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.005776, allocations: 140.7 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005777, allocations: 0 / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/0.005796, allocations: 20.95 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.00592, allocations: 4 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00017/0.00609, allocations: 134.7 kB / 0.5262 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.525e-05/0.006115, allocations: 52.11 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.455e-05/0.00613, allocations: 4.5 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.006195, allocations: 88.52 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.006196, allocations: 0 / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.002438/0.008634, allocations: 1.289 MB / 0.5276 GB, free: 10.62 MB / 0.4948 GB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3043971830047667]