Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001119/0.001119, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001247/0.001247, allocations: 173 kB / 23.49 MB, free: 1.059 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.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7882/0.7882, allocations: 154.6 MB / 414.8 MB, free: 0.6953 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.5204 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.529e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001418/0.001454, allocations: 0.6452 MB / 0.521 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001737/0.001627, allocations: 11.94 kB / 0.521 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.001678, allocations: 0 / 0.521 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.001795, allocations: 7.875 kB / 0.521 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.00184, allocations: 3.984 kB / 0.5211 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.588e-05/0.001916, allocations: 8 kB / 0.5211 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.01e-05/0.002006, allocations: 23.92 kB / 0.5211 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.002152, allocations: 28.59 kB / 0.5211 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.956e-05/0.002191, allocations: 15.98 kB / 0.5211 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.311e-05/0.002224, allocations: 13.16 kB / 0.5211 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.002249, allocations: 4 kB / 0.5211 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.002258, allocations: 0 / 0.5211 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.002295, allocations: 12.95 kB / 0.5212 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.002326, allocations: 15.92 kB / 0.5212 GB, free: 1.711 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.002434, allocations: 35.84 kB / 0.5212 GB, free: 1.676 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.002437, allocations: 4.906 kB / 0.5212 GB, free: 1.672 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.002438, allocations: 0 / 0.5212 GB, free: 1.672 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.002442, allocations: 0 / 0.5212 GB, free: 1.672 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.0003044/0.002747, allocations: 373.5 kB / 0.5216 GB, free: 1.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.002784, allocations: 8.031 kB / 0.5216 GB, free: 1.262 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.002822, allocations: 13.86 kB / 0.5216 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.002953, allocations: 124.5 kB / 0.5217 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.002966, allocations: 8.375 kB / 0.5217 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.002976, allocations: 5.312 kB / 0.5217 GB, free: 1.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.003081, allocations: 50.19 kB / 0.5218 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.003089, allocations: 1.406 kB / 0.5218 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.003099, allocations: 4.375 kB / 0.5218 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.003108, allocations: 384 / 0.5218 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.003143, allocations: 23.86 kB / 0.5218 GB, free: 1.008 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.00365, allocations: 0.5259 MB / 0.5223 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.74e-05/0.003727, allocations: 271.2 kB / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.00376, allocations: 126.9 kB / 0.5227 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.003798, allocations: 119.2 kB / 0.5228 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.003844, allocations: 164.6 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.003846, allocations: 0 / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.367e-05/0.003909, allocations: 39.14 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.003969, allocations: 170.6 kB / 0.5232 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.004078, allocations: 177.9 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.004086, allocations: 25.7 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.004151, allocations: 144.1 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.004154, allocations: 0 / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.004183, allocations: 19.38 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.004301, allocations: 0.4883 MB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.00432, allocations: 0.625 kB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-06/0.004327, allocations: 4.75 kB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.004361, allocations: 13.08 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.004363, allocations: 0 / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.612e-05/0.004459, allocations: 41.59 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.004474, allocations: 5.062 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.00448, allocations: 4 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.004492, allocations: 0 / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.004543, allocations: 1.922 kB / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.00455, allocations: 3.938 kB / 0.5241 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.004567, allocations: 15.92 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.004578, allocations: 4 kB / 0.5241 GB, free: 14.54 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.000102/0.00468, allocations: 277.6 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.004727, allocations: 148.9 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.004772, allocations: 152.3 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.543e-05/0.004827, allocations: 264.1 kB / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.285e-05/0.00489, allocations: 284.1 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.622e-05/0.004946, allocations: 266.8 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.005126, allocations: 0.5037 MB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/0.005158, allocations: 148.8 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.005191, allocations: 144.9 kB / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.331e-05/0.005265, allocations: 276 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/0.005324, allocations: 268.1 kB / 0.5267 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.477e-05/0.005379, allocations: 272 kB / 0.527 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.467e-05/0.005434, allocations: 264.1 kB / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.005564, allocations: 457.6 kB / 0.5276 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.005609, allocations: 152.9 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.005679, allocations: 268 kB / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.005736, allocations: 148.9 kB / 0.5282 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.005796, allocations: 269 kB / 0.5284 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.005828, allocations: 148.8 kB / 0.5286 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.005879, allocations: 139.5 kB / 0.5287 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005879, allocations: 0.8438 kB / 0.5287 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001478/0.006027, allocations: 4 kB / 0.5287 GB, free: 9.586 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.0001224/0.006149, allocations: 217.3 kB / 0.5289 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.39e-05/0.006223, allocations: 11.69 kB / 0.5289 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.006225, allocations: 0 / 0.5289 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.006226, allocations: 0 / 0.5289 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.006628, allocations: 0.7178 MB / 0.5296 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.006884, allocations: 258.1 kB / 0.5299 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.29e-05/0.006917, allocations: 59.34 kB / 0.5299 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.456e-05/0.006932, allocations: 0.6562 kB / 0.5299 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.006955, allocations: 12.5 kB / 0.53 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.006955, allocations: 0.625 kB / 0.53 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.002033/0.008988, allocations: 320.9 kB / 0.5303 GB, free: 7.957 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8649998889304698]