Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.001225/0.001225, allocations: 80.88 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.001265/0.001265, allocations: 181 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 0.9959/0.9959, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8662/0.8662, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.559e-05, allocations: 3.719 kB / 480.1 MB, free: 6.855 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001395/0.00141, allocations: 0.8017 MB / 480.9 MB, free: 6.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000959/0.002369, allocations: 0.9171 MB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.133e-05/0.002431, allocations: 4 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.002473, allocations: 12.73 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.002585, allocations: 7.109 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.002776, allocations: 44.78 kB / 481.8 MB, free: 5.102 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.002898, allocations: 85.69 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.00301, allocations: 21.14 kB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.00313, allocations: 52.58 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.994e-05/0.00321, allocations: 38.45 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.003236, allocations: 8.625 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.003249, allocations: 8.219 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.003278, allocations: 24.53 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.003309, allocations: 24.52 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.003445, allocations: 63.78 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003447, allocations: 0.5 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.003449, allocations: 0.5938 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.003454, allocations: 0 / 482.2 MB, free: 4.801 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004268/0.003881, allocations: 285.4 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.003919, allocations: 9.812 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.003961, allocations: 16.86 kB / 482.5 MB, free: 4.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.004077, allocations: 114.5 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.004101, allocations: 8.375 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.004113, allocations: 4.375 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.004288, allocations: 96.48 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.004298, allocations: 3.938 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004308, allocations: 3.938 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.004315, allocations: 8.547 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.659e-05/0.004362, allocations: 24.86 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.004722, allocations: 200.2 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.004994, allocations: 59.55 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.005027, allocations: 25.41 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.005045, allocations: 0.9062 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.005072, allocations: 34.56 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.005074, allocations: 1.156 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001864/0.00526, allocations: 65.66 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.0053, allocations: 53.34 kB / 483.2 MB, free: 3.715 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.005391, allocations: 134.5 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.005408, allocations: 25.7 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.005469, allocations: 92.06 kB / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.005499, allocations: 15.84 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.00554, allocations: 26.77 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.005651, allocations: 318.8 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.005681, allocations: 11.94 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.005714, allocations: 12.55 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.136e-05/0.005795, allocations: 29.67 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.005801, allocations: 5.094 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002367/0.006037, allocations: 58.16 kB / 483.9 MB, free: 2.961 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.00606, allocations: 4 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.006067, allocations: 1.031 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.006084, allocations: 0 / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.006221, allocations: 28.5 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.006225, allocations: 80 / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.006276, allocations: 13.36 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.006286, allocations: 7.922 kB / 483.9 MB, free: 2.91 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001048/0.006391, allocations: 121.8 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.006416, allocations: 4.688 kB / 484 MB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.006581, allocations: 71.05 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.006584, allocations: 0.625 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.006586, allocations: 0 / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.00659, allocations: 1.031 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.006759, allocations: 89.83 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.006761, allocations: 0 / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.006882, allocations: 28.44 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.006887, allocations: 4.812 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.006896, allocations: 0 / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.006899, allocations: 1.219 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.006901, allocations: 0 / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.007081, allocations: 155.5 kB / 484.4 MB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.007105, allocations: 17.91 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.007121, allocations: 4 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.007249, allocations: 4 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.007327, allocations: 19.97 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.007338, allocations: 11.98 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.007371, allocations: 13.36 kB / 484.5 MB, free: 2.328 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007371, allocations: 5.25 kB / 484.5 MB, free: 2.324 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.007578, allocations: 12 kB / 484.5 MB, free: 2.312 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001266/0.007705, allocations: 80.97 kB / 484.6 MB, free: 2.227 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.007838, allocations: 38.73 kB / 484.6 MB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.007842, allocations: 0 / 484.6 MB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.007899, allocations: 28.78 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.008108, allocations: 16.73 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.008489, allocations: 171.5 kB / 484.8 MB, free: 1.945 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.008531, allocations: 61.22 kB / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.228e-05/0.008593, allocations: 10.84 kB / 484.9 MB, free: 1.859 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.008697, allocations: 67.36 kB / 484.9 MB, free: 1.793 MB / 442.7 MB Notification: Performance of SimCode: time 7.22e-07/0.008698, allocations: 0 / 484.9 MB, free: 1.793 MB / 442.7 MB Notification: Performance of Templates: time 0.004633/0.01333, allocations: 1.699 MB / 486.6 MB, free: 208 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.682502946816385]