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.0007005/0.0007005, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008277/0.0008277, allocations: 203.2 kB / 23 MB, free: 3.113 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.9093/0.9093, allocations: 230.6 MB / 256.8 MB, free: 3.48 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.7356/0.7356, allocations: 203.8 MB / 0.5049 GB, free: 0.7188 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.0009891/0.0009891, allocations: 67.89 kB / 0.7195 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4479, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001307/0.4492, allocations: 0.6044 MB / 0.8197 GB, free: 24.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.4501, allocations: 1.158 MB / 0.8208 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.4502, allocations: 0 / 0.8208 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.4502, allocations: 0 / 0.8208 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.4502, allocations: 6.422 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.4507, allocations: 122.9 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.4508, allocations: 92.34 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.846e-05/0.4509, allocations: 4.375 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.4509, allocations: 42.5 kB / 0.821 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.451, allocations: 35.05 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.4511, allocations: 8.094 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.034e-05/0.4511, allocations: 22.8 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.4511, allocations: 6.328 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.4512, allocations: 28.23 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.4513, allocations: 87.03 kB / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4513, allocations: 0.8125 kB / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4513, allocations: 0 / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.4513, allocations: 0 / 0.8212 GB, free: 23.82 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.0003401/0.4517, allocations: 309.3 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4517, allocations: 11.03 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.4518, allocations: 6.125 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.337e-05/0.4518, allocations: 113.9 kB / 0.8216 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4518, allocations: 8.562 kB / 0.8217 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4519, allocations: 9.219 kB / 0.8217 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.919e-05/0.4519, allocations: 41.2 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4519, allocations: 0.75 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.452, allocations: 5.156 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.452, allocations: 0.5938 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.452, allocations: 6.531 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.4523, allocations: 262.3 kB / 0.822 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.78e-05/0.4523, allocations: 32.27 kB / 0.822 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.4523, allocations: 16.58 kB / 0.822 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.4523, allocations: 4.703 kB / 0.822 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.201e-05/0.4524, allocations: 63.91 kB / 0.8221 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.4524, allocations: 3.938 kB / 0.8221 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001663/0.4526, allocations: 77.03 kB / 0.8222 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.4526, allocations: 52.67 kB / 0.8222 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.478e-05/0.4527, allocations: 107.3 kB / 0.8223 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.4527, allocations: 27.64 kB / 0.8223 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.4527, allocations: 87.45 kB / 0.8224 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.4527, allocations: 6.609 kB / 0.8224 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.4528, allocations: 34.7 kB / 0.8225 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.4528, allocations: 317.1 kB / 0.8228 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.4529, allocations: 28.33 kB / 0.8228 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-05/0.4529, allocations: 51.59 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.129e-05/0.453, allocations: 86.5 kB / 0.8229 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.453, allocations: 5.156 kB / 0.8229 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000186/0.4532, allocations: 150.3 kB / 0.8231 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.4533, allocations: 40.42 kB / 0.8231 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4533, allocations: 5.125 kB / 0.8231 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4533, allocations: 1.094 kB / 0.8231 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.4533, allocations: 2.938 kB / 0.8231 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4533, allocations: 5.859 kB / 0.8231 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.4535, allocations: 32.77 kB / 0.8231 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.4535, allocations: 6.766 kB / 0.8232 GB, free: 22.04 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 5.085e-05/0.4536, allocations: 120.1 kB / 0.8233 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-06/0.4536, allocations: 5.5 kB / 0.8233 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.4536, allocations: 10.44 kB / 0.8233 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4536, allocations: 4.875 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4536, allocations: 0.5 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4536, allocations: 1.609 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.937e-05/0.4536, allocations: 142.7 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.4536, allocations: 0 / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/0.4537, allocations: 2.25 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.4537, allocations: 0.75 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.4537, allocations: 1.219 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4537, allocations: 9.812 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4537, allocations: 0.6562 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.962e-05/0.4537, allocations: 86.98 kB / 0.8235 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.4537, allocations: 7.891 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.4538, allocations: 0 / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.4538, allocations: 0.7969 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.4538, allocations: 4.188 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.4538, allocations: 1.828 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.046e-05/0.4538, allocations: 94.75 kB / 0.8236 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4538, allocations: 0 / 0.8236 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000137/0.454, allocations: 19.88 kB / 0.8236 GB, free: 21.55 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 8.118e-05/0.454, allocations: 96.31 kB / 0.8237 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.4542, allocations: 113.7 kB / 0.8238 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4542, allocations: 0 / 0.8238 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.4542, allocations: 13.2 kB / 0.8239 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.4544, allocations: 20.42 kB / 0.8239 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.4546, allocations: 156.5 kB / 0.824 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.4547, allocations: 0.6803 MB / 0.8247 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.4547, allocations: 9.562 kB / 0.8247 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.4547, allocations: 0 / 0.8247 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.002086/0.4568, allocations: 0.9308 MB / 0.8256 GB, free: 20.44 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.575401772046462] Failed to read output from testmodel.py, exit status != 0: 0.4615599219687283 0.469303357 0.016326042000000002 Calling exit ...