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.0007201/0.0007201, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007216/0.0007216, allocations: 177.9 kB / 23.22 MB, free: 1.344 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.8462/0.8462, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-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 0.6897/0.6897, allocations: 154.5 MB / 414.5 MB, free: 0.8555 MB / 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.976e-06/2.976e-06, allocations: 0 / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.957e-05, allocations: 6 kB / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001244/0.001274, allocations: 0.5946 MB / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.002288, allocations: 1.131 MB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.002325, allocations: 0 / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.002352, allocations: 3.938 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.002407, allocations: 3.984 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.002794, allocations: 130.8 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.00292, allocations: 91.81 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.403e-05/0.003004, allocations: 4 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.005e-05/0.003084, allocations: 51.91 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.003166, allocations: 27.94 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.003191, allocations: 8 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.003244, allocations: 12 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.003267, allocations: 15.92 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.003307, allocations: 19.98 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.003455, allocations: 103.8 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003458, allocations: 4 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.003459, allocations: 0 / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.003463, allocations: 0 / 0.6214 GB, free: 11.04 MB / 0.5886 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.0003688/0.003832, allocations: 300 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.003868, allocations: 13.47 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.00391, allocations: 8.875 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.296e-05/0.003983, allocations: 113.7 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.004004, allocations: 8.375 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.004017, allocations: 8.312 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.08e-05/0.004098, allocations: 38.25 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004106, allocations: 4.188 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.00412, allocations: 8.359 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004125, allocations: 384 / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/0.004159, allocations: 7.938 kB / 0.6219 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.004697, allocations: 228.5 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.566e-05/0.004753, allocations: 26.58 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.004771, allocations: 12.92 kB / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.004781, allocations: 0 / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.004908, allocations: 59.39 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.004909, allocations: 0 / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.000168/0.005077, allocations: 81.52 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.005114, allocations: 59.39 kB / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.005176, allocations: 109.8 kB / 0.6224 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.005192, allocations: 29.7 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.005229, allocations: 84.14 kB / 0.6225 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.00524, allocations: 11.94 kB / 0.6225 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.005284, allocations: 33.7 kB / 0.6226 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.005353, allocations: 318.8 kB / 0.6229 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.005419, allocations: 61.69 kB / 0.6229 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.005482, allocations: 80.25 kB / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.005558, allocations: 84.22 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.00556, allocations: 4 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001737/0.005733, allocations: 184.9 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.005763, allocations: 37.64 kB / 0.6233 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.005768, allocations: 4 kB / 0.6233 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.005781, allocations: 3.984 kB / 0.6233 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.005831, allocations: 8.062 kB / 0.6233 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.005835, allocations: 0 / 0.6233 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.005958, allocations: 28.03 kB / 0.6234 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.00597, allocations: 4 kB / 0.6234 GB, free: 8.781 MB / 0.5886 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.352e-05/0.006033, allocations: 118.8 kB / 0.6235 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.006044, allocations: 11.92 kB / 0.6235 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.006066, allocations: 7.938 kB / 0.6235 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.006069, allocations: 0 / 0.6235 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.006073, allocations: 4 kB / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006076, allocations: 0 / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.315e-05/0.006139, allocations: 109.2 kB / 0.6236 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006141, allocations: 4 kB / 0.6236 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.006154, allocations: 4 kB / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.006156, allocations: 0 / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.006162, allocations: 0 / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.006164, allocations: 3.938 kB / 0.6236 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.006166, allocations: 0 / 0.6236 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.845e-05/0.006254, allocations: 97 kB / 0.6237 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.006259, allocations: 0 / 0.6237 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.006268, allocations: 4 kB / 0.6237 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.00628, allocations: 3.938 kB / 0.6237 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.006305, allocations: 4.266 kB / 0.6237 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.00631, allocations: 8 kB / 0.6237 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.76e-05/0.006337, allocations: 87.66 kB / 0.6238 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006337, allocations: 0 / 0.6238 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001404/0.006478, allocations: 16 kB / 0.6238 GB, free: 8.242 MB / 0.5886 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.000118/0.006596, allocations: 107.2 kB / 0.6239 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.00676, allocations: 145 kB / 0.6241 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.006761, allocations: 0 / 0.6241 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.006787, allocations: 15.98 kB / 0.6241 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.006944, allocations: 12.12 kB / 0.6241 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.007194, allocations: 154.5 kB / 0.6242 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.007234, allocations: 63.34 kB / 0.6243 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.007251, allocations: 12.5 kB / 0.6243 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.007251, allocations: 0 / 0.6243 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.001779/0.00903, allocations: 0.944 MB / 0.6252 GB, free: 6.73 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.786463336087763] Failed to read output from testmodel.py, exit status != 0: 0.014064100570976734 0.023153017 0.018004077 Calling exit ...