Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0008811/0.0008811, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009231/0.0009231, allocations: 169 kB / 23.02 MB, free: 1.547 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.007/1.007, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.824/0.824, allocations: 154.8 MB / 414.7 MB, free: 492 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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.337e-06/3.337e-06, allocations: 3.938 kB / 0.5206 GB, free: 1.906 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.284e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002509/0.002542, allocations: 0.6614 MB / 0.5213 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000187/0.002729, allocations: 5.031 kB / 0.5213 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.00278, allocations: 8.594 kB / 0.5213 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.002904, allocations: 4 kB / 0.5213 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.002958, allocations: 6.125 kB / 0.5213 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.104e-05/0.003039, allocations: 3.984 kB / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.003145, allocations: 28.69 kB / 0.5213 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.003287, allocations: 16.73 kB / 0.5213 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.003331, allocations: 23.92 kB / 0.5214 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.003365, allocations: 12.73 kB / 0.5214 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.00339, allocations: 4 kB / 0.5214 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.003404, allocations: 5 kB / 0.5214 GB, free: 1.164 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.003442, allocations: 15.92 kB / 0.5214 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.003474, allocations: 8 kB / 0.5214 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.003589, allocations: 32.59 kB / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003592, allocations: 0 / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.003594, allocations: 1.75 kB / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.003599, allocations: 0 / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004065/0.004006, allocations: 384.5 kB / 0.5218 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.004052, allocations: 8.031 kB / 0.5218 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.004102, allocations: 12.89 kB / 0.5218 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.004271, allocations: 125.2 kB / 0.5219 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.004285, allocations: 5.25 kB / 0.5219 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.004301, allocations: 4.375 kB / 0.5219 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.004433, allocations: 50.25 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.004446, allocations: 0.7188 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004456, allocations: 1.062 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.004466, allocations: 4.375 kB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.428e-05/0.004511, allocations: 16.55 kB / 0.522 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.005064, allocations: 0.537 MB / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.005179, allocations: 262.2 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.005234, allocations: 131.9 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.005273, allocations: 119.2 kB / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/0.005337, allocations: 156.5 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.462e-06/0.005339, allocations: 1.859 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.107e-05/0.00542, allocations: 45.58 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.005484, allocations: 170.6 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.005623, allocations: 169.9 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.005634, allocations: 25.7 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.005716, allocations: 144.5 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.00572, allocations: 4 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.005784, allocations: 19.38 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.005955, allocations: 0.4883 MB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.00597, allocations: 0.75 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.005981, allocations: 3.938 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.006024, allocations: 17.09 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006026, allocations: 0 / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001292/0.006155, allocations: 42.95 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.006172, allocations: 5.25 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.006177, allocations: 0 / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.006194, allocations: 0 / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.006263, allocations: 9.938 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.006268, allocations: 0 / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.006291, allocations: 7.938 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.006302, allocations: 0 / 0.5243 GB, free: 13.98 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 (1): * Single equations (assignments): 1 * 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 0.00012/0.006422, allocations: 279.7 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.006501, allocations: 154.9 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.38e-05/0.006584, allocations: 156.4 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.794e-05/0.006672, allocations: 268 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.242e-05/0.006755, allocations: 268.2 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.154e-05/0.006846, allocations: 272.1 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.007117, allocations: 0.5042 MB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/0.007162, allocations: 148.9 kB / 0.5263 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.007215, allocations: 153.9 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.362e-05/0.007299, allocations: 268.1 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.888e-05/0.007387, allocations: 277.2 kB / 0.5269 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-05/0.007469, allocations: 264.1 kB / 0.5272 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-05/0.007553, allocations: 264.1 kB / 0.5274 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.007728, allocations: 467.1 kB / 0.5279 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.007783, allocations: 148.8 kB / 0.528 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/0.007874, allocations: 272 kB / 0.5283 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.007969, allocations: 144.9 kB / 0.5284 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.008061, allocations: 272 kB / 0.5287 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.008108, allocations: 148.9 kB / 0.5288 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.95e-05/0.008178, allocations: 131.5 kB / 0.5289 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008178, allocations: 0 / 0.5289 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002783/0.008456, allocations: 4 kB / 0.529 GB, free: 9.016 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 (0): * Single equations (assignments): 0 * 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.0001738/0.00863, allocations: 221.5 kB / 0.5292 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.236e-05/0.008712, allocations: 15.62 kB / 0.5292 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.008715, allocations: 0 / 0.5292 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.008717, allocations: 4 kB / 0.5292 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.009225, allocations: 0.7063 MB / 0.5299 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.009567, allocations: 250.8 kB / 0.5301 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.76e-05/0.009614, allocations: 63.33 kB / 0.5302 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.009637, allocations: 4 kB / 0.5302 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.009663, allocations: 8.5 kB / 0.5302 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.009664, allocations: 0.625 kB / 0.5302 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of Templates: time 0.002487/0.01215, allocations: 325.7 kB / 0.5305 GB, free: 7.379 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.835484690964222]