Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.0008037/0.0008037, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007473/0.0007473, allocations: 213 kB / 23 MB, free: 2.98 MB / 13.93 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.8019/0.8019, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.6998/0.6998, allocations: 203.8 MB / 0.5049 GB, free: 10.39 MB / 410.7 MB " [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.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [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.0008826/0.0008826, allocations: 68.73 kB / 0.7194 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.395, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001226/0.3963, allocations: 0.5891 MB / 0.8196 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000863/0.3971, allocations: 1.145 MB / 0.8207 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.3972, allocations: 0 / 0.8207 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.3972, allocations: 4.547 kB / 0.8207 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.3973, allocations: 8.484 kB / 0.8207 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.3976, allocations: 121.3 kB / 0.8208 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3978, allocations: 86.86 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.527e-05/0.3978, allocations: 3.891 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.3979, allocations: 50.16 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.917e-05/0.398, allocations: 28.25 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.398, allocations: 9.25 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.529e-05/0.3981, allocations: 18.33 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.3981, allocations: 3.359 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.3981, allocations: 30.08 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.3983, allocations: 86.88 kB / 0.8211 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3983, allocations: 0.7031 kB / 0.8211 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3983, allocations: 0 / 0.8211 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3983, allocations: 0.75 kB / 0.8211 GB, free: 15.94 MB / 0.6198 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.000351/0.3986, allocations: 306.9 kB / 0.8214 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.3987, allocations: 15.38 kB / 0.8214 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3987, allocations: 4.406 kB / 0.8214 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.855e-05/0.3988, allocations: 106.6 kB / 0.8215 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.3988, allocations: 7.5 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.3988, allocations: 6.031 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.946e-05/0.3989, allocations: 41.89 kB / 0.8216 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3989, allocations: 3.938 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3989, allocations: 4 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3989, allocations: 0 / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.229e-05/0.3989, allocations: 7.75 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.3992, allocations: 231.8 kB / 0.8218 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.3993, allocations: 26.25 kB / 0.8218 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.3993, allocations: 18.12 kB / 0.8219 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.3993, allocations: 0 / 0.8219 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.3994, allocations: 58.42 kB / 0.8219 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.3994, allocations: 0 / 0.8219 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001622/0.3996, allocations: 81.55 kB / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3996, allocations: 51.92 kB / 0.822 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.3997, allocations: 118.4 kB / 0.8222 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3997, allocations: 25.7 kB / 0.8222 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.3997, allocations: 93.05 kB / 0.8223 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.3998, allocations: 6.125 kB / 0.8223 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.3998, allocations: 30.95 kB / 0.8223 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.3999, allocations: 320.1 kB / 0.8226 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.3999, allocations: 63.62 kB / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.4, allocations: 83.16 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.332e-05/0.4001, allocations: 84.98 kB / 0.8228 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4001, allocations: 0 / 0.8228 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001734/0.4003, allocations: 192 kB / 0.823 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.4003, allocations: 38.17 kB / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4003, allocations: 1.938 kB / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4003, allocations: 0 / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.4004, allocations: 8.484 kB / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4004, allocations: 0 / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.4005, allocations: 29.86 kB / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.4005, allocations: 5.172 kB / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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.214e-05/0.4006, allocations: 124.1 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-06/0.4006, allocations: 2.219 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.4006, allocations: 5.891 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4006, allocations: 1.219 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4006, allocations: 0 / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4006, allocations: 2.203 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.268e-05/0.4007, allocations: 111 kB / 0.8233 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4007, allocations: 5.297 kB / 0.8233 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.4007, allocations: 2.656 kB / 0.8233 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4007, allocations: 0 / 0.8233 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.4007, allocations: 5.594 kB / 0.8233 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4007, allocations: 5.125 kB / 0.8234 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4007, allocations: 0 / 0.8234 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.4008, allocations: 83.95 kB / 0.8234 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.4008, allocations: 6.859 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.4008, allocations: 1.938 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.233e-05/0.4008, allocations: 1.219 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.4009, allocations: 6.844 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.4009, allocations: 6.188 kB / 0.8235 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.4009, allocations: 83.05 kB / 0.8235 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4009, allocations: 0 / 0.8235 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000154/0.4011, allocations: 19.64 kB / 0.8236 GB, free: 13.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0001318/0.4012, allocations: 105.7 kB / 0.8237 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.4014, allocations: 140.9 kB / 0.8238 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4014, allocations: 0 / 0.8238 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.4015, allocations: 13.95 kB / 0.8238 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.4016, allocations: 18.94 kB / 0.8238 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.402, allocations: 162.7 kB / 0.824 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.402, allocations: 65.03 kB / 0.824 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.4021, allocations: 11.06 kB / 0.824 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.4021, allocations: 0 / 0.824 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.002112/0.4042, allocations: 0.9234 MB / 0.8249 GB, free: 13.12 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.958738358225673] Failed to read output from testmodel.py, exit status != 0: 0.4094883440993726 0.41865491000000005 0.018353504 Calling exit ...