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.0009299/0.0009299, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009576/0.0009576, allocations: 169 kB / 23.27 MB, free: 1.223 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.8834/0.8834, allocations: 177.2 MB / 203.7 MB, free: 5.504 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-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 0.7296/0.7296, allocations: 154.9 MB / 415.1 MB, free: 256 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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.404e-05, allocations: 4 kB / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001011/0.001025, allocations: 0.6004 MB / 0.5217 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002066, allocations: 1.156 MB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.002106, allocations: 3.938 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.00213, allocations: 0 / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.002188, allocations: 9.219 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.002513, allocations: 116.2 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.002625, allocations: 96.53 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.332e-05/0.002688, allocations: 3.984 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.002767, allocations: 56.84 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.002837, allocations: 23.95 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.002855, allocations: 8 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.002903, allocations: 20.92 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.002918, allocations: 4 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.002949, allocations: 33.66 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.003054, allocations: 67.84 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003056, allocations: 4 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003057, allocations: 0 / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.00306, allocations: 0 / 0.5232 GB, free: 15.37 MB / 0.4948 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.0003037/0.003364, allocations: 410.8 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.003396, allocations: 8.938 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.003426, allocations: 4.938 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.64e-05/0.003493, allocations: 120.5 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.003508, allocations: 5.125 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.003519, allocations: 4.375 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.954e-05/0.003589, allocations: 51.56 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.003596, allocations: 1.156 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.003602, allocations: 384 / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.003608, allocations: 4.312 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.003632, allocations: 16.77 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.003928, allocations: 260.4 kB / 0.5241 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.003971, allocations: 32.75 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.119e-05/0.003982, allocations: 7.75 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.003988, allocations: 7.984 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.86e-05/0.004057, allocations: 57.06 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.004058, allocations: 5.75 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001156/0.004174, allocations: 69.5 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.004197, allocations: 55.41 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.00426, allocations: 169.9 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.004274, allocations: 26.45 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.004315, allocations: 130.9 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.004327, allocations: 9.297 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.004369, allocations: 43.33 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.004466, allocations: 496.1 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.004507, allocations: 49.69 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/0.004553, allocations: 81.98 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.004612, allocations: 88.75 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.004614, allocations: 2.156 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001375/0.004751, allocations: 169 kB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.004774, allocations: 33.69 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.004779, allocations: 4 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.004788, allocations: 5.781 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.278e-05/0.004821, allocations: 4 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.004824, allocations: 0 / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.496e-05/0.004919, allocations: 19.98 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.00493, allocations: 8.547 kB / 0.5256 GB, free: 12.7 MB / 0.4948 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.928e-05/0.00499, allocations: 161.5 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-06/0.004998, allocations: 7.953 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.005018, allocations: 9.156 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.00502, allocations: 7.938 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005021, allocations: 0 / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.005025, allocations: 6.984 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.848e-05/0.005084, allocations: 97.25 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.005084, allocations: 3.938 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.116e-06/0.005092, allocations: 4 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.005094, allocations: 0 / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.005098, allocations: 3.984 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005098, allocations: 400 / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0051, allocations: 4 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.027e-05/0.00517, allocations: 96.53 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-06/0.005175, allocations: 6.984 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-06/0.005184, allocations: 4 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-06/0.005192, allocations: 7.984 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.005209, allocations: 3.938 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.005213, allocations: 4 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.005246, allocations: 135.1 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005246, allocations: 0 / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001293/0.005375, allocations: 19.94 kB / 0.5262 GB, free: 12.07 MB / 0.4948 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.41e-05/0.005459, allocations: 100.8 kB / 0.5263 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.005578, allocations: 141.2 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.005579, allocations: 0 / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-05/0.005595, allocations: 18.75 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.005717, allocations: 7.984 kB / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001775/0.005894, allocations: 138.1 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.534e-05/0.005919, allocations: 59.34 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.268e-05/0.005932, allocations: 0 / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.005995, allocations: 88.62 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.005996, allocations: 0 / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.002325/0.008321, allocations: 1.289 MB / 0.5279 GB, free: 10.23 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3722597802989185]