Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.001019/0.001019, 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.001154/0.001154, 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.9275/0.9275, allocations: 177.1 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.7595/0.7595, 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.594e-06/2.594e-06, allocations: 0 / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.77e-05, allocations: 6.031 kB / 0.5212 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.00133/0.001358, allocations: 0.6886 MB / 0.5219 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000815/0.002173, allocations: 0.8493 MB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.002212, allocations: 0 / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.002239, allocations: 7.938 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.768e-05/0.002307, allocations: 5.891 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 6.29e-05/0.002369, allocations: 11.98 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.991e-05/0.002439, allocations: 51.78 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.002527, allocations: 4 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.002613, allocations: 19.98 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.551e-05/0.002649, allocations: 28.64 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.002665, allocations: 4 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-06/0.002672, allocations: 5.219 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.002687, allocations: 4 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.00271, allocations: 15.92 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 7.743e-05/0.002787, allocations: 25.16 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002789, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.41e-07/0.00279, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.002793, allocations: 2.281 kB / 0.5229 GB, free: 15.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003147/0.003108, allocations: 376.6 kB / 0.5232 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.003146, allocations: 12.03 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.231e-05/0.003168, allocations: 4.891 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.172e-05/0.00324, allocations: 112.6 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.003253, allocations: 8.375 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.003261, allocations: 2.094 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.003373, allocations: 66.81 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.00338, allocations: 192 / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.003387, allocations: 4.375 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.003391, allocations: 4.938 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.003412, allocations: 12.83 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.003633, allocations: 248.4 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.533e-05/0.003689, allocations: 32.09 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.003708, allocations: 11.69 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.003715, allocations: 4.781 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.003733, allocations: 37.47 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.003734, allocations: 1.031 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001133/0.003847, allocations: 45.83 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.00387, allocations: 51.41 kB / 0.5239 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.003939, allocations: 175.3 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.003948, allocations: 25.7 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.004, allocations: 142.8 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.004016, allocations: 3.953 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.004041, allocations: 20.5 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.00415, allocations: 0.4884 MB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.004163, allocations: 4 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.052e-05/0.004173, allocations: 4.672 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.004202, allocations: 19.69 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004204, allocations: 1.281 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.409e-05/0.004258, allocations: 41.64 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.004271, allocations: 10.34 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.004276, allocations: 1.125 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.004287, allocations: 7.875 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.004354, allocations: 11.98 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.004356, allocations: 0.7812 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.004378, allocations: 4.5 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.004383, allocations: 4 kB / 0.5248 GB, free: 13.57 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 (3): * Single equations (assignments): 3 * 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 5.961e-05/0.004443, allocations: 159.5 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.004454, allocations: 0 / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.004477, allocations: 15.98 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.00448, allocations: 3.938 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.004481, allocations: 0 / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004483, allocations: 3.938 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.529e-05/0.004578, allocations: 97.25 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.004581, allocations: 7.016 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.004609, allocations: 8 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.004613, allocations: 4 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.004617, allocations: 0 / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.004617, allocations: 0 / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004618, allocations: 0 / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.004737, allocations: 199.8 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.004746, allocations: 3.938 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-06/0.004755, allocations: 9.484 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.004793, allocations: 4 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.004822, allocations: 11.92 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.004825, allocations: 4.5 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.00486, allocations: 127.2 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00486, allocations: 0.9688 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001311/0.004991, allocations: 4 kB / 0.5254 GB, free: 12.88 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 (3): * Single equations (assignments): 3 * 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 9.379e-05/0.005085, allocations: 96.08 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.504e-05/0.00515, allocations: 22.73 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.005151, allocations: 3.938 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.005168, allocations: 11.69 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.005367, allocations: 16.53 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.005611, allocations: 132.6 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.005642, allocations: 59.34 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.005661, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.005712, allocations: 70.2 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/0.005713, allocations: 0 / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.002277/0.00799, allocations: 0.8051 MB / 0.5266 GB, free: 11.64 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4106154227629304]