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.0009686/0.0009686, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001134/0.001134, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.031/1.031, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7846/0.7846, allocations: 154.9 MB / 415.9 MB, free: 260 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.924e-06/1.924e-06, allocations: 0 / 0.5219 GB, free: 1.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.127e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001686/0.001708, allocations: 0.5941 MB / 0.5224 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.003388, allocations: 1.16 MB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.003439, allocations: 4.656 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.003465, allocations: 0 / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.03e-05/0.003546, allocations: 13.12 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.004021, allocations: 112.3 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.004195, allocations: 95.81 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.593e-05/0.004281, allocations: 5.812 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.004398, allocations: 55.83 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.004499, allocations: 27.95 kB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.004526, allocations: 8 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.769e-05/0.004593, allocations: 16 kB / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.004619, allocations: 13.69 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.004666, allocations: 23.92 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.004825, allocations: 75.83 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004828, allocations: 0 / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004829, allocations: 0 / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.004832, allocations: 1.375 kB / 0.524 GB, free: 15.38 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.0003987/0.005231, allocations: 406.3 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.005269, allocations: 8.031 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.005313, allocations: 9.469 kB / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.055e-05/0.005403, allocations: 116.5 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.005422, allocations: 5.125 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.005439, allocations: 4.375 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/0.005515, allocations: 56.41 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005522, allocations: 192 / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.005529, allocations: 384 / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.005535, allocations: 8.312 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.352e-05/0.005559, allocations: 9.266 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.005866, allocations: 260.4 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.726e-05/0.005923, allocations: 34.5 kB / 0.5249 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.005943, allocations: 19.73 kB / 0.5249 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.005949, allocations: 0 / 0.5249 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.951e-05/0.006039, allocations: 61.05 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.00604, allocations: 0 / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001708/0.006211, allocations: 69.52 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.006255, allocations: 51.41 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.00636, allocations: 165.9 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.006384, allocations: 29.7 kB / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.006453, allocations: 135.4 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.006467, allocations: 11.94 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.006536, allocations: 39.91 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.006689, allocations: 493.1 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.913e-05/0.006769, allocations: 53.67 kB / 0.526 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.323e-05/0.006852, allocations: 80.73 kB / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.006952, allocations: 86.22 kB / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.006954, allocations: 0 / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002557/0.00721, allocations: 173.8 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.007248, allocations: 38.61 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.007255, allocations: 0 / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.007268, allocations: 3.938 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.351e-05/0.007311, allocations: 6.438 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.007314, allocations: 0 / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.007448, allocations: 19.97 kB / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.007467, allocations: 8 kB / 0.5264 GB, free: 12.71 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.627e-05/0.007553, allocations: 160.5 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.00757, allocations: 10.75 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.007598, allocations: 7.984 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007601, allocations: 3.938 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.007603, allocations: 0 / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.007606, allocations: 0 / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.631e-05/0.007702, allocations: 105.2 kB / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.007703, allocations: 3.938 kB / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.007723, allocations: 5.203 kB / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007725, allocations: 0 / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.007733, allocations: 8 kB / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007735, allocations: 0.9375 kB / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007736, allocations: 0 / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.007854, allocations: 92.55 kB / 0.5267 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.007863, allocations: 4.969 kB / 0.5267 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.007875, allocations: 7.984 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.481e-05/0.00789, allocations: 0.6562 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.007912, allocations: 3.938 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.007918, allocations: 5.125 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.007967, allocations: 131.5 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.007967, allocations: 0 / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002406/0.008208, allocations: 30.33 kB / 0.5269 GB, free: 12.09 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.000113/0.008321, allocations: 95.25 kB / 0.527 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.008514, allocations: 144.7 kB / 0.5271 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008516, allocations: 0 / 0.5271 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.008552, allocations: 22.8 kB / 0.5272 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.008746, allocations: 8 kB / 0.5272 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.008989, allocations: 126.2 kB / 0.5273 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.009026, allocations: 59.36 kB / 0.5274 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.009047, allocations: 4 kB / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.009142, allocations: 86.17 kB / 0.5274 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.009143, allocations: 1.531 kB / 0.5274 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.003734/0.01288, allocations: 1.312 MB / 0.5287 GB, free: 10.24 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.5765145081095397]