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.0007401/0.0007401, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009234/0.0009234, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9365/0.9365, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7997/0.7997, allocations: 154.9 MB / 415.1 MB, free: 260 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 3.016e-06/3.016e-06, allocations: 0.5469 kB / 0.5212 GB, free: 1.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.882e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00167/0.001699, allocations: 0.6702 MB / 0.5218 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.005692, allocations: 0.8557 MB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.005737, allocations: 0 / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.005764, allocations: 0 / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.871e-05/0.005833, allocations: 9.188 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.005999, allocations: 16.48 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.946e-05/0.006059, allocations: 23.92 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.006138, allocations: 4.562 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.006207, allocations: 12.86 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.006239, allocations: 11.98 kB / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.006251, allocations: 0 / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.128e-05/0.006292, allocations: 5.469 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.006307, allocations: 7.984 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.006323, allocations: 7.938 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.547e-05/0.006409, allocations: 15.98 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.006412, allocations: 0.9375 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006414, allocations: 0 / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.006417, allocations: 1.125 kB / 0.5228 GB, free: 15.84 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.0003148/0.006732, allocations: 356.6 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.006772, allocations: 16.02 kB / 0.5231 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.352e-05/0.006865, allocations: 14.27 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.716e-05/0.006932, allocations: 104.6 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.006944, allocations: 4.375 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-06/0.00695, allocations: 4.375 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.00705, allocations: 51.75 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.007056, allocations: 5.469 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.007062, allocations: 384 / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.007067, allocations: 384 / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.007087, allocations: 7.922 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.007306, allocations: 233.8 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.27e-05/0.007348, allocations: 27.06 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.007363, allocations: 15.75 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.007382, allocations: 0.7812 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.007404, allocations: 43.05 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.007405, allocations: 0 / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001298/0.007535, allocations: 49.52 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001367/0.008902, allocations: 51.41 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.00897, allocations: 160.1 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.008981, allocations: 25.7 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.009023, allocations: 134.9 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.009042, allocations: 7.953 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.009073, allocations: 15.38 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.009179, allocations: 496.1 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.009191, allocations: 0.5 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.272e-05/0.009204, allocations: 5.453 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.009232, allocations: 11.69 kB / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009234, allocations: 0 / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.707e-05/0.009301, allocations: 46.58 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.009317, allocations: 8 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.009322, allocations: 0.9375 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.009335, allocations: 3.938 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.009405, allocations: 8.484 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.009408, allocations: 0.6875 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.024e-05/0.009428, allocations: 4 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.009433, allocations: 1.219 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB 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.872e-05/0.009501, allocations: 152.6 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.00952, allocations: 4 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.739e-05/0.009608, allocations: 49.56 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.00961, allocations: 4.594 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.009612, allocations: 1.344 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.009615, allocations: 0 / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.009725, allocations: 101.2 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.009726, allocations: 0 / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.009757, allocations: 6.438 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.009758, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.009762, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.009764, allocations: 4 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009765, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/0.009859, allocations: 191.9 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.009867, allocations: 10.78 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.009876, allocations: 4 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.674e-05/0.009923, allocations: 3.984 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.00995, allocations: 4 kB / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.009955, allocations: 8.062 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.009988, allocations: 123.2 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009988, allocations: 0 / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001973/0.01019, allocations: 4 kB / 0.5253 GB, free: 13.06 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: 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 0.0001052/0.01029, allocations: 101.2 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.043e-05/0.01035, allocations: 15.69 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01035, allocations: 2.656 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.01037, allocations: 11.69 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.01061, allocations: 4 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.01084, allocations: 114.3 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.01088, allocations: 63.28 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.647e-05/0.01089, allocations: 2.75 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.01094, allocations: 70.2 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.01094, allocations: 0 / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.002003/0.01294, allocations: 0.5116 MB / 0.5261 GB, free: 12.14 MB / 0.4948 GB " [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.5291898059658706]