Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.001071/0.001071, allocations: 93.06 kB / 19.65 MB, free: 280 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.001064/0.001064, allocations: 169 kB / 23.02 MB, free: 1.555 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.9906/0.9906, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.8674/0.8674, allocations: 154.8 MB / 414.7 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.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5206 GB, free: 0.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.917e-05, allocations: 2.312 kB / 0.5206 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001187/0.001207, allocations: 0.6607 MB / 0.5213 GB, free: 156 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.002033, allocations: 0.8606 MB / 0.5221 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.002065, allocations: 0 / 0.5221 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.002094, allocations: 3.938 kB / 0.5221 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.002157, allocations: 5.453 kB / 0.5221 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.002337, allocations: 13.97 kB / 0.5221 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.0024, allocations: 23.86 kB / 0.5222 GB, free: 15.24 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.002482, allocations: 8 kB / 0.5222 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.331e-05/0.002556, allocations: 16.55 kB / 0.5222 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.71e-05/0.002593, allocations: 4 kB / 0.5222 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.002611, allocations: 1.812 kB / 0.5222 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-05/0.002668, allocations: 11.98 kB / 0.5222 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.002686, allocations: 7.984 kB / 0.5222 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.002707, allocations: 4 kB / 0.5222 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.002832, allocations: 19.86 kB / 0.5222 GB, free: 15.17 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.002836, allocations: 5.719 kB / 0.5222 GB, free: 15.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.002838, allocations: 0 / 0.5222 GB, free: 15.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.002843, allocations: 0 / 0.5222 GB, free: 15.16 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.000401/0.003244, allocations: 356.3 kB / 0.5226 GB, free: 14.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.00329, allocations: 9.406 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.003421, allocations: 9.234 kB / 0.5226 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.003532, allocations: 108.6 kB / 0.5227 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.003549, allocations: 4.375 kB / 0.5227 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.003564, allocations: 4.906 kB / 0.5227 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.003712, allocations: 55.64 kB / 0.5228 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.003727, allocations: 192 / 0.5228 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.003739, allocations: 1.844 kB / 0.5228 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.00375, allocations: 4.359 kB / 0.5228 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.514e-05/0.003785, allocations: 7.938 kB / 0.5228 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.004082, allocations: 243.8 kB / 0.523 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.913e-05/0.004131, allocations: 28.45 kB / 0.523 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.004154, allocations: 15.67 kB / 0.523 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.004175, allocations: 7.469 kB / 0.523 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.004196, allocations: 37.39 kB / 0.5231 GB, free: 14.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.061e-06/0.004197, allocations: 0 / 0.5231 GB, free: 14.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.004338, allocations: 41.59 kB / 0.5231 GB, free: 14.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.004363, allocations: 55.41 kB / 0.5232 GB, free: 14.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.004434, allocations: 161.9 kB / 0.5233 GB, free: 13.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.004445, allocations: 25.7 kB / 0.5234 GB, free: 13.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.004487, allocations: 130.9 kB / 0.5235 GB, free: 13.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.004503, allocations: 3.953 kB / 0.5235 GB, free: 13.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.004529, allocations: 27.88 kB / 0.5235 GB, free: 13.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.004646, allocations: 496.7 kB / 0.524 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.00466, allocations: 7.938 kB / 0.524 GB, free: 13.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.004669, allocations: 0.5 kB / 0.524 GB, free: 13.17 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.004699, allocations: 16.62 kB / 0.524 GB, free: 13.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004701, allocations: 1.469 kB / 0.524 GB, free: 13.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.953e-05/0.00475, allocations: 37.69 kB / 0.524 GB, free: 13.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.004764, allocations: 8 kB / 0.5241 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.004769, allocations: 3.938 kB / 0.5241 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.004785, allocations: 0.875 kB / 0.5241 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.004848, allocations: 8 kB / 0.5241 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.004854, allocations: 4.875 kB / 0.5241 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.004869, allocations: 4 kB / 0.5241 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.004874, allocations: 1.625 kB / 0.5241 GB, free: 13.08 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.019e-05/0.004934, allocations: 164.6 kB / 0.5242 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.004947, allocations: 0 / 0.5242 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-05/0.005031, allocations: 49.75 kB / 0.5243 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005032, allocations: 0 / 0.5243 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.005035, allocations: 0 / 0.5243 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005038, allocations: 1.25 kB / 0.5243 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.53e-05/0.005123, allocations: 108.8 kB / 0.5244 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005125, allocations: 0 / 0.5244 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.005145, allocations: 10.45 kB / 0.5244 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.005149, allocations: 7.984 kB / 0.5244 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.005155, allocations: 0 / 0.5244 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.005158, allocations: 3.938 kB / 0.5244 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005158, allocations: 0 / 0.5244 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.483e-05/0.005243, allocations: 191.8 kB / 0.5246 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.00525, allocations: 6.75 kB / 0.5246 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.005258, allocations: 0 / 0.5246 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.068e-05/0.005289, allocations: 7.938 kB / 0.5246 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.005323, allocations: 7.984 kB / 0.5246 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.005325, allocations: 0 / 0.5246 GB, free: 12.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.089e-05/0.005355, allocations: 123.2 kB / 0.5247 GB, free: 12.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005355, allocations: 0 / 0.5247 GB, free: 12.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.005492, allocations: 5.188 kB / 0.5247 GB, free: 12.34 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.493e-05/0.005557, allocations: 95.19 kB / 0.5248 GB, free: 12.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.944e-05/0.005636, allocations: 24.55 kB / 0.5248 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.005637, allocations: 0 / 0.5248 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.005652, allocations: 12.62 kB / 0.5249 GB, free: 12.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.005833, allocations: 8.641 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.006084, allocations: 123.6 kB / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.161e-05/0.006116, allocations: 51.36 kB / 0.525 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.586e-05/0.006132, allocations: 10.42 kB / 0.525 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.006156, allocations: 8.5 kB / 0.5251 GB, free: 11.95 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.006157, allocations: 0 / 0.5251 GB, free: 11.95 MB / 458.7 MB Notification: Performance of Templates: time 0.00195/0.008107, allocations: 479 kB / 0.5255 GB, free: 11.51 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9454767699353397]