Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001434/0.001434, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.001566/0.001566, allocations: 164.8 kB / 22.46 MB, free: 5.359 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.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.226/1.226, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.6185 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.29e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002067/0.0021, allocations: 0.5916 MB / 0.6191 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.003957, allocations: 1.137 MB / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.004012, allocations: 0 / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.004039, allocations: 0 / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.724e-05/0.004117, allocations: 3.938 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005821/0.004699, allocations: 131.4 kB / 0.6204 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.004889, allocations: 91.83 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.00498, allocations: 8 kB / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.005128, allocations: 63.81 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005234, allocations: 19.97 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.005266, allocations: 8 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.831e-05/0.005344, allocations: 19.98 kB / 0.6206 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.005365, allocations: 4 kB / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.005443, allocations: 27.91 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.005667, allocations: 95.83 kB / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.00567, allocations: 0 / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.82e-07/0.005671, allocations: 0 / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.005676, allocations: 4 kB / 0.6207 GB, free: 2.418 MB / 0.5294 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.0005695/0.006246, allocations: 311.9 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.006287, allocations: 8.031 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.006356, allocations: 4.938 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.006483, allocations: 105.8 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.006514, allocations: 12.31 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.006538, allocations: 8.375 kB / 0.6211 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.006658, allocations: 42.25 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.006668, allocations: 192 / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.006677, allocations: 384 / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.006682, allocations: 4.312 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.00673, allocations: 15.92 kB / 0.6212 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.007164, allocations: 228.5 kB / 0.6214 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.646e-05/0.00725, allocations: 30.52 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.007284, allocations: 16.84 kB / 0.6214 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.007301, allocations: 4.062 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.007465, allocations: 63.38 kB / 0.6215 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.007466, allocations: 0 / 0.6215 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002362/0.007702, allocations: 77.55 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.007762, allocations: 55.41 kB / 0.6216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.007866, allocations: 109.8 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.007895, allocations: 29.7 kB / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.007971, allocations: 88.14 kB / 0.6219 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.00799, allocations: 11.89 kB / 0.6219 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.008062, allocations: 33.69 kB / 0.6219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.008215, allocations: 314.8 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.00835, allocations: 61.69 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.008461, allocations: 80.25 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.008588, allocations: 84.2 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008589, allocations: 0 / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003153/0.008905, allocations: 185 kB / 0.6226 GB, free: 248 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.008953, allocations: 49.56 kB / 0.6226 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.008958, allocations: 0 / 0.6226 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.008975, allocations: 4 kB / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.009026, allocations: 0 / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.009034, allocations: 4 kB / 0.6226 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.009247, allocations: 23.97 kB / 0.6227 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.009269, allocations: 7.984 kB / 0.6227 GB, free: 152 kB / 0.5294 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 9.926e-05/0.009368, allocations: 118.9 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.009384, allocations: 4 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.009418, allocations: 11.88 kB / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.00942, allocations: 0 / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.009424, allocations: 0 / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.009427, allocations: 0 / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.009571, allocations: 109.3 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.009574, allocations: 8 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.009594, allocations: 4 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.009596, allocations: 0 / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.009611, allocations: 11.98 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.009615, allocations: 3.938 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009616, allocations: 0 / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.009761, allocations: 85.08 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-06/0.009768, allocations: 0 / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.009782, allocations: 0 / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.009804, allocations: 11.92 kB / 0.623 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.009834, allocations: 0 / 0.623 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.009838, allocations: 0 / 0.623 GB, free: 15.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.075e-05/0.009909, allocations: 95.2 kB / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.009909, allocations: 0 / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002248/0.01013, allocations: 20 kB / 0.6231 GB, free: 15.61 MB / 0.545 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.0001535/0.01029, allocations: 103.2 kB / 0.6232 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.01054, allocations: 137.1 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01055, allocations: 0 / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.01058, allocations: 15.94 kB / 0.6234 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.0108, allocations: 11.98 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.01113, allocations: 124.7 kB / 0.6235 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.461e-05/0.01119, allocations: 67.47 kB / 0.6236 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.01122, allocations: 7.906 kB / 0.6236 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.01124, allocations: 12.5 kB / 0.6236 GB, free: 15.07 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.01124, allocations: 3.938 kB / 0.6236 GB, free: 15.06 MB / 0.545 GB Notification: Performance of Templates: time 0.004415/0.01566, allocations: 1.175 MB / 0.6247 GB, free: 13.94 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.704019363969564] Failed to read output from testmodel.py, exit status != 0: 0.02452762797474861 0.040640477 0.031664161 Calling exit ...