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.0007339/0.0007339, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007394/0.0007394, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8624/0.8624, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7125/0.7125, allocations: 155 MB / 415 MB, free: 500 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.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.0008876/0.0008876, allocations: 63.89 kB / 0.6199 GB, free: 12.78 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3963, allocations: 102 MB / 0.7195 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001358/0.3977, allocations: 0.5886 MB / 0.72 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3988, allocations: 1.142 MB / 0.7211 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.3988, allocations: 0 / 0.7211 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.3989, allocations: 4.969 kB / 0.7211 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.3989, allocations: 10.25 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.3993, allocations: 122.8 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.3995, allocations: 86.52 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.3996, allocations: 3.469 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.833e-05/0.3997, allocations: 60.27 kB / 0.7214 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/0.3998, allocations: 25.89 kB / 0.7214 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3998, allocations: 8.719 kB / 0.7214 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.3998, allocations: 21.3 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.3999, allocations: 6.016 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.3999, allocations: 39.05 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.4001, allocations: 102.8 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4001, allocations: 3.938 kB / 0.7216 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4001, allocations: 1.062 kB / 0.7216 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.4001, allocations: 0 / 0.7216 GB, free: 21.99 MB / 0.6355 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.0003523/0.4004, allocations: 308.5 kB / 0.7219 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4005, allocations: 11.19 kB / 0.7219 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.4005, allocations: 5.703 kB / 0.7219 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.089e-05/0.4006, allocations: 115.3 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.4006, allocations: 2.562 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.4006, allocations: 5.781 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.063e-05/0.4007, allocations: 40.02 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4007, allocations: 192 / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.4007, allocations: 4.547 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4007, allocations: 1.375 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.4007, allocations: 13.72 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.401, allocations: 233.4 kB / 0.7223 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.077e-05/0.4011, allocations: 26.31 kB / 0.7223 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.4011, allocations: 8.844 kB / 0.7224 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.4011, allocations: 5.656 kB / 0.7224 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.4012, allocations: 62.62 kB / 0.7224 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4012, allocations: 1.094 kB / 0.7224 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001724/0.4014, allocations: 69.67 kB / 0.7225 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.4014, allocations: 53.47 kB / 0.7225 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.58e-05/0.4015, allocations: 109.9 kB / 0.7226 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.4015, allocations: 36.41 kB / 0.7227 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.4015, allocations: 88.52 kB / 0.7228 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.4015, allocations: 9.969 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.4016, allocations: 30.38 kB / 0.7228 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.924e-05/0.4016, allocations: 314 kB / 0.7231 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/0.4017, allocations: 64.88 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.4017, allocations: 79.41 kB / 0.7232 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/0.4018, allocations: 85.81 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4018, allocations: 1.094 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001702/0.402, allocations: 195 kB / 0.7235 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.402, allocations: 33.98 kB / 0.7235 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.402, allocations: 1.859 kB / 0.7235 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.402, allocations: 1.281 kB / 0.7235 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.121e-05/0.4021, allocations: 6.641 kB / 0.7236 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4021, allocations: 1.859 kB / 0.7236 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.4022, allocations: 24 kB / 0.7236 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.4022, allocations: 6.547 kB / 0.7236 GB, free: 20.14 MB / 0.6355 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 4.896e-05/0.4023, allocations: 125 kB / 0.7237 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.4023, allocations: 6.922 kB / 0.7237 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.4023, allocations: 13.67 kB / 0.7237 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4023, allocations: 0.6562 kB / 0.7237 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4023, allocations: 1.344 kB / 0.7237 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4023, allocations: 0 / 0.7237 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.966e-05/0.4024, allocations: 111.5 kB / 0.7238 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4024, allocations: 0.7031 kB / 0.7238 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.4024, allocations: 6.375 kB / 0.7238 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4024, allocations: 0.7031 kB / 0.7238 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.4024, allocations: 9.5 kB / 0.7238 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4024, allocations: 0.7031 kB / 0.7238 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4024, allocations: 1.312 kB / 0.7238 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.823e-05/0.4025, allocations: 87.72 kB / 0.7239 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.4025, allocations: 10.89 kB / 0.7239 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.4025, allocations: 1.781 kB / 0.7239 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.4025, allocations: 0.5156 kB / 0.7239 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.4025, allocations: 3.375 kB / 0.7239 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.4025, allocations: 2.656 kB / 0.7239 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.211e-05/0.4025, allocations: 90.81 kB / 0.724 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4025, allocations: 0 / 0.724 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001413/0.4027, allocations: 20.05 kB / 0.7241 GB, free: 19.69 MB / 0.6355 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 9.088e-05/0.4028, allocations: 97.09 kB / 0.7241 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.4029, allocations: 145.1 kB / 0.7243 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4029, allocations: 0 / 0.7243 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.506e-05/0.403, allocations: 14.45 kB / 0.7243 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.4031, allocations: 8.297 kB / 0.7243 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.4034, allocations: 159.6 kB / 0.7245 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.4034, allocations: 67.97 kB / 0.7245 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.4034, allocations: 9.688 kB / 0.7245 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.4034, allocations: 1.219 kB / 0.7245 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.002113/0.4055, allocations: 0.9498 MB / 0.7255 GB, free: 19.17 MB / 0.6355 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: 5.30296372785233] Failed to read output from testmodel.py, exit status != 0: 0.4111060288269073 0.41898720500000003 0.017247184000000002 Calling exit ...