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.001621/0.001621, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002331/0.002331, allocations: 215.5 kB / 22.25 MB, free: 4.855 MB / 14.72 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.609/1.609, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.275/1.275, allocations: 203.8 MB / 0.5041 GB, free: 4.637 MB / 414.1 MB " [Timeout remaining time 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003349/0.003349, allocations: 63.89 kB / 0.7186 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7288/0.7321, allocations: 102 MB / 0.8182 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00192/0.734, allocations: 0.6018 MB / 0.8188 GB, free: 28.54 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.7355, allocations: 1.133 MB / 0.8199 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.7355, allocations: 0.5312 kB / 0.8199 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.7356, allocations: 5.016 kB / 0.8199 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.7356, allocations: 10.31 kB / 0.8199 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.7361, allocations: 126.6 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.7363, allocations: 86.36 kB / 0.8201 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.7364, allocations: 6.531 kB / 0.8201 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.907e-05/0.7365, allocations: 33.47 kB / 0.8202 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.7366, allocations: 30.48 kB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.7366, allocations: 8.469 kB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.7367, allocations: 20.33 kB / 0.8202 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.7367, allocations: 7.547 kB / 0.8202 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.7368, allocations: 30.88 kB / 0.8203 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.7369, allocations: 86.73 kB / 0.8204 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.7369, allocations: 1.25 kB / 0.8204 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.264e-06/0.737, allocations: 0.8438 kB / 0.8204 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.737, allocations: 1.094 kB / 0.8204 GB, free: 27.53 MB / 0.6387 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.0004474/0.7374, allocations: 308.9 kB / 0.8207 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.7375, allocations: 11.41 kB / 0.8207 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.7375, allocations: 5.812 kB / 0.8207 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.912e-05/0.7376, allocations: 106 kB / 0.8208 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.7376, allocations: 7.938 kB / 0.8208 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.7376, allocations: 5.562 kB / 0.8208 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.7378, allocations: 41.58 kB / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7378, allocations: 192 / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.7378, allocations: 5.062 kB / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.7378, allocations: 0.7188 kB / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.7378, allocations: 15.66 kB / 0.8208 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.7382, allocations: 226.4 kB / 0.8211 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/0.7382, allocations: 26.42 kB / 0.8211 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.7383, allocations: 12.64 kB / 0.8211 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.7383, allocations: 5.312 kB / 0.8211 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.7384, allocations: 67.97 kB / 0.8212 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.7384, allocations: 0.5 kB / 0.8212 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0002185/0.7386, allocations: 66.03 kB / 0.8212 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.7387, allocations: 53.27 kB / 0.8213 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.7387, allocations: 117 kB / 0.8214 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.7388, allocations: 27.55 kB / 0.8214 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.7388, allocations: 88.8 kB / 0.8215 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.7388, allocations: 10.09 kB / 0.8215 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.7389, allocations: 31.44 kB / 0.8215 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.7389, allocations: 318.9 kB / 0.8218 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.997e-05/0.739, allocations: 64.73 kB / 0.8219 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.946e-05/0.7391, allocations: 82.62 kB / 0.822 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.7392, allocations: 83.48 kB / 0.8221 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7393, allocations: 1.812 kB / 0.8221 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002824/0.7395, allocations: 191 kB / 0.8223 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.7396, allocations: 36.3 kB / 0.8223 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7396, allocations: 2.062 kB / 0.8223 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7396, allocations: 1.906 kB / 0.8223 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.7397, allocations: 6.578 kB / 0.8223 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.7397, allocations: 4.594 kB / 0.8223 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.7399, allocations: 32.5 kB / 0.8223 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.7399, allocations: 6.125 kB / 0.8223 GB, free: 25.7 MB / 0.6387 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.069e-05/0.74, allocations: 117.6 kB / 0.8225 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.74, allocations: 6.328 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.74, allocations: 9.453 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.74, allocations: 1.031 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.74, allocations: 0.5625 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.74, allocations: 0.5625 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.078e-05/0.7401, allocations: 107.8 kB / 0.8226 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7401, allocations: 1.312 kB / 0.8226 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.7401, allocations: 5.531 kB / 0.8226 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7401, allocations: 1.219 kB / 0.8226 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.7402, allocations: 1.094 kB / 0.8226 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7402, allocations: 1.109 kB / 0.8226 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7402, allocations: 4.188 kB / 0.8226 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.7403, allocations: 97.36 kB / 0.8227 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.7403, allocations: 5.469 kB / 0.8227 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.7403, allocations: 2.203 kB / 0.8227 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.555e-05/0.7403, allocations: 5.047 kB / 0.8227 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.7404, allocations: 3.031 kB / 0.8227 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.7404, allocations: 2.406 kB / 0.8227 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.7404, allocations: 86.8 kB / 0.8228 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7404, allocations: 0 / 0.8228 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002488/0.7407, allocations: 15.66 kB / 0.8228 GB, free: 25.27 MB / 0.6387 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.0001378/0.7408, allocations: 105.9 kB / 0.8229 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.741, allocations: 145.5 kB / 0.823 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.741, allocations: 5.375 kB / 0.823 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.7411, allocations: 9.234 kB / 0.823 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.7413, allocations: 11.98 kB / 0.8231 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.7416, allocations: 131 kB / 0.8232 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.7416, allocations: 70.19 kB / 0.8233 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.7416, allocations: 4.109 kB / 0.8233 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.7416, allocations: 8.969 kB / 0.8233 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.7416, allocations: 0 / 0.8233 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.004323/0.746, allocations: 1.196 MB / 0.8244 GB, free: 24.7 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.110137147828937] Failed to read output from testmodel.py, exit status != 0: 0.7569247111678123 0.769246081 0.029543613000000003 Calling exit ...