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.001129/0.001129, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001318/0.001318, allocations: 177 kB / 23.36 MB, free: 1.133 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.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.7986/0.7986, allocations: 154.6 MB / 414.8 MB, free: 0.5 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 2.314e-06/2.314e-06, allocations: 0.6562 kB / 480.1 MB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.258e-05, allocations: 2.312 kB / 480.1 MB, free: 6.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001297/0.001319, allocations: 0.6574 MB / 480.7 MB, free: 6.211 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001346/0.001454, allocations: 11.94 kB / 480.7 MB, free: 6.199 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.001487, allocations: 1.969 kB / 480.7 MB, free: 6.199 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.47e-05/0.001582, allocations: 4.922 kB / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.331e-05/0.001615, allocations: 3.984 kB / 480.7 MB, free: 6.191 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.774e-05/0.001673, allocations: 13.3 kB / 480.8 MB, free: 6.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.001742, allocations: 19.48 kB / 480.8 MB, free: 6.164 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.002081, allocations: 24.55 kB / 480.8 MB, free: 6.141 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.002117, allocations: 22.56 kB / 480.8 MB, free: 6.121 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.773e-05/0.002145, allocations: 8.984 kB / 480.8 MB, free: 6.113 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.002162, allocations: 1.703 kB / 480.8 MB, free: 6.113 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.002171, allocations: 4 kB / 480.8 MB, free: 6.109 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.002198, allocations: 14.28 kB / 480.9 MB, free: 6.098 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.00222, allocations: 11.97 kB / 480.9 MB, free: 6.09 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.545e-05/0.002295, allocations: 30.97 kB / 480.9 MB, free: 6.062 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002297, allocations: 0.5469 kB / 480.9 MB, free: 6.062 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002297, allocations: 0.75 kB / 480.9 MB, free: 6.062 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.0023, allocations: 4 kB / 480.9 MB, free: 6.059 MB / 442.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.000215/0.002515, allocations: 250.1 kB / 481.1 MB, free: 5.793 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.002544, allocations: 12.91 kB / 481.2 MB, free: 5.781 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.002568, allocations: 16.86 kB / 481.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.276e-05/0.00266, allocations: 109.8 kB / 481.3 MB, free: 5.633 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.002668, allocations: 5.812 kB / 481.3 MB, free: 5.629 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.002678, allocations: 4.375 kB / 481.3 MB, free: 5.625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.653e-05/0.002754, allocations: 58.38 kB / 481.4 MB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.002761, allocations: 192 / 481.4 MB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.002767, allocations: 1.125 kB / 481.4 MB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.002771, allocations: 384 / 481.4 MB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.002792, allocations: 25.39 kB / 481.4 MB, free: 5.543 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.003033, allocations: 341.7 kB / 481.7 MB, free: 5.191 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/0.003086, allocations: 177 kB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.003105, allocations: 80.67 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.00312, allocations: 77.03 kB / 482 MB, free: 4.852 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.003151, allocations: 113.8 kB / 482.1 MB, free: 4.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.003152, allocations: 0 / 482.1 MB, free: 4.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 4.218e-05/0.003194, allocations: 29.69 kB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.003234, allocations: 130.6 kB / 482.3 MB, free: 4.555 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.642e-05/0.003301, allocations: 117.3 kB / 482.4 MB, free: 4.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.003307, allocations: 25.7 kB / 482.4 MB, free: 4.398 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.003343, allocations: 95.98 kB / 482.5 MB, free: 4.301 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.003346, allocations: 3.984 kB / 482.5 MB, free: 4.297 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.003367, allocations: 17.7 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.003435, allocations: 311.8 kB / 482.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-06/0.003442, allocations: 1.312 kB / 482.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-06/0.003448, allocations: 8.875 kB / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.003472, allocations: 9.766 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.003475, allocations: 3.938 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.906e-05/0.003534, allocations: 42.25 kB / 482.9 MB, free: 3.891 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.003544, allocations: 4 kB / 482.9 MB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.003547, allocations: 0.625 kB / 482.9 MB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.003557, allocations: 0.9375 kB / 482.9 MB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.455e-05/0.003591, allocations: 4.625 kB / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.003593, allocations: 0.625 kB / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.003606, allocations: 4 kB / 482.9 MB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.003613, allocations: 0.625 kB / 482.9 MB, free: 3.879 MB / 442.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 (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 5.915e-05/0.003672, allocations: 193.4 kB / 483.1 MB, free: 3.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.003703, allocations: 105 kB / 483.2 MB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.003735, allocations: 109.1 kB / 483.3 MB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/0.003772, allocations: 181.1 kB / 483.5 MB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.916e-05/0.003811, allocations: 188.2 kB / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.528e-05/0.003846, allocations: 182 kB / 483.9 MB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.003963, allocations: 333.5 kB / 484.2 MB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/0.003986, allocations: 108.9 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.004005, allocations: 101.6 kB / 484.4 MB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.782e-05/0.004043, allocations: 184.7 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.00408, allocations: 181.2 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.334e-05/0.004114, allocations: 176.3 kB / 484.9 MB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.633e-05/0.00415, allocations: 185 kB / 485.1 MB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.905e-05/0.004239, allocations: 311.8 kB / 485.4 MB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.004268, allocations: 109.6 kB / 485.5 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.00431, allocations: 184.9 kB / 485.7 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.004361, allocations: 105.8 kB / 485.8 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.004401, allocations: 181.2 kB / 486 MB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.004423, allocations: 104.9 kB / 486.1 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.859e-05/0.004442, allocations: 22.38 kB / 486.1 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004442, allocations: 0 / 486.1 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001162/0.004558, allocations: 4.766 kB / 486.1 MB, free: 0.5312 MB / 442.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 (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 8.047e-05/0.004639, allocations: 149.6 kB / 486.3 MB, free: 388 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.229e-05/0.004681, allocations: 8.859 kB / 486.3 MB, free: 376 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.004685, allocations: 0 / 486.3 MB, free: 376 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.004686, allocations: 0.75 kB / 486.3 MB, free: 376 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.004896, allocations: 456.9 kB / 486.7 MB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.005084, allocations: 217.6 kB / 486.9 MB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.955e-05/0.005114, allocations: 63.28 kB / 487 MB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.566e-05/0.00513, allocations: 5.031 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.005162, allocations: 51.39 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/0.005162, allocations: 0.7812 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of Templates: time 0.001605/0.006767, allocations: 347.2 kB / 487.4 MB, free: 15.23 MB / 458.7 MB " [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.623432795982808]