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.002234/0.002234, allocations: 85.48 kB / 19.44 MB, free: 340 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.002269/0.002269, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.331/1.331, allocations: 154.8 MB / 414.3 MB, free: 392 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 178] 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: Performance of FrontEnd - loaded program: time 3.597e-06/3.597e-06, allocations: 0 / 0.5198 GB, free: 1.219 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.224e-05/4.584e-05, allocations: 4.562 kB / 0.5198 GB, free: 1.215 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00255/0.002596, allocations: 0.5871 MB / 0.5204 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.004774, allocations: 1.141 MB / 0.5215 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.004827, allocations: 0 / 0.5215 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.004855, allocations: 3.938 kB / 0.5215 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.583e-05/0.004951, allocations: 9.906 kB / 0.5215 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.005533, allocations: 119.6 kB / 0.5216 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.005764, allocations: 96.36 kB / 0.5217 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.005872, allocations: 8.562 kB / 0.5217 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.00601, allocations: 40.94 kB / 0.5218 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.006142, allocations: 31.94 kB / 0.5218 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.006178, allocations: 8 kB / 0.5218 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.889e-05/0.006257, allocations: 21.41 kB / 0.5218 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.006288, allocations: 11.92 kB / 0.5219 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.504e-05/0.006363, allocations: 23.98 kB / 0.5219 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.006633, allocations: 95.83 kB / 0.522 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.006639, allocations: 0.7812 kB / 0.522 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.006641, allocations: 3.938 kB / 0.522 GB, free: 15.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.006647, allocations: 0.9062 kB / 0.522 GB, free: 15.04 MB / 458.7 MB 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.0007328/0.00738, allocations: 409.8 kB / 0.5224 GB, free: 14.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.007439, allocations: 9.688 kB / 0.5224 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/0.007518, allocations: 8.938 kB / 0.5224 GB, free: 14.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.007686, allocations: 112.6 kB / 0.5225 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.007718, allocations: 8.359 kB / 0.5225 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.007748, allocations: 12.31 kB / 0.5225 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.007884, allocations: 38.94 kB / 0.5226 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.007894, allocations: 1.312 kB / 0.5226 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.007905, allocations: 384 / 0.5226 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.007909, allocations: 384 / 0.5226 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.007974, allocations: 11.94 kB / 0.5226 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.008586, allocations: 289.1 kB / 0.5228 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.008698, allocations: 35 kB / 0.5229 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.008737, allocations: 12.53 kB / 0.5229 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.008755, allocations: 4 kB / 0.5229 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.008918, allocations: 66.45 kB / 0.523 GB, free: 13.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.008919, allocations: 0 / 0.523 GB, free: 13.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003097/0.009229, allocations: 85.53 kB / 0.523 GB, free: 13.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.009297, allocations: 51.41 kB / 0.5231 GB, free: 13.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.009494, allocations: 176.4 kB / 0.5233 GB, free: 13.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.009539, allocations: 33.7 kB / 0.5233 GB, free: 13.53 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.009659, allocations: 126.9 kB / 0.5234 GB, free: 13.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.009683, allocations: 11.95 kB / 0.5234 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.009792, allocations: 35.36 kB / 0.5234 GB, free: 13.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003693/0.01016, allocations: 0.4923 MB / 0.5239 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.01034, allocations: 66.19 kB / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.01055, allocations: 100.7 kB / 0.5241 GB, free: 12.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.01077, allocations: 102.1 kB / 0.5242 GB, free: 12.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01077, allocations: 0 / 0.5242 GB, free: 12.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005014/0.01127, allocations: 193.9 kB / 0.5244 GB, free: 12.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.01134, allocations: 46.56 kB / 0.5244 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01135, allocations: 0 / 0.5244 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.01137, allocations: 7.938 kB / 0.5244 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.01144, allocations: 0.9375 kB / 0.5244 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.01145, allocations: 4 kB / 0.5244 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.01169, allocations: 20.64 kB / 0.5244 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.01172, allocations: 8.938 kB / 0.5245 GB, free: 12.24 MB / 458.7 MB 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 0.0001906/0.01191, allocations: 165.7 kB / 0.5246 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.01193, allocations: 4.062 kB / 0.5246 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.01198, allocations: 15.94 kB / 0.5246 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01198, allocations: 4.625 kB / 0.5246 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01198, allocations: 0 / 0.5246 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01199, allocations: 1.812 kB / 0.5246 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.01219, allocations: 128.6 kB / 0.5248 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01219, allocations: 0 / 0.5248 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.01221, allocations: 0 / 0.5248 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.01222, allocations: 4 kB / 0.5248 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01223, allocations: 5.016 kB / 0.5248 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.01224, allocations: 7.922 kB / 0.5248 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01224, allocations: 0 / 0.5248 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.01245, allocations: 94.97 kB / 0.5249 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.01246, allocations: 4 kB / 0.5249 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.01249, allocations: 7.938 kB / 0.5249 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.01252, allocations: 7.922 kB / 0.5249 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.01256, allocations: 0 / 0.5249 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01257, allocations: 4 kB / 0.5249 GB, free: 11.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.01269, allocations: 131.2 kB / 0.525 GB, free: 11.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01269, allocations: 3.125 kB / 0.525 GB, free: 11.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.01304, allocations: 19.95 kB / 0.525 GB, free: 11.58 MB / 458.7 MB 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.0001878/0.01323, allocations: 95.25 kB / 0.5251 GB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004162/0.01364, allocations: 180.7 kB / 0.5253 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01365, allocations: 0 / 0.5253 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.18e-05/0.01371, allocations: 19.69 kB / 0.5253 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.01403, allocations: 13.61 kB / 0.5253 GB, free: 11.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.01445, allocations: 134.3 kB / 0.5255 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.432e-05/0.01454, allocations: 69.55 kB / 0.5255 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.667e-05/0.01457, allocations: 3.984 kB / 0.5255 GB, free: 10.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.0146, allocations: 16.44 kB / 0.5255 GB, free: 10.98 MB / 458.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0146, allocations: 0 / 0.5255 GB, free: 10.98 MB / 458.7 MB Notification: Performance of Templates: time 0.005902/0.0205, allocations: 1.183 MB / 0.5267 GB, free: 9.875 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.285619511967525]