Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001026/0.001026, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001021/0.001021, allocations: 177 kB / 23.36 MB, free: 1.129 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.038/1.038, 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 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.7767/0.7767, allocations: 154.9 MB / 415.1 MB, free: 228 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.847e-06/3.847e-06, allocations: 0 / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/3.04e-05, allocations: 3.297 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001958/0.001989, allocations: 0.6956 MB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.002898, allocations: 0.851 MB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.00294, allocations: 1.094 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.002973, allocations: 7.922 kB / 482 MB, free: 4.953 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.353e-05/0.003056, allocations: 2.516 kB / 482 MB, free: 4.953 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.003172, allocations: 20.5 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.738e-05/0.003259, allocations: 40.19 kB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.003355, allocations: 12.52 kB / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.003457, allocations: 26.44 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.003508, allocations: 19.89 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.003532, allocations: 0 / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.003543, allocations: 4 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.003566, allocations: 17.83 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.003589, allocations: 10.75 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.869e-05/0.003678, allocations: 25.77 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.00368, allocations: 0 / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.003682, allocations: 0 / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003686, allocations: 0.6562 kB / 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003525/0.004038, allocations: 257.8 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.004075, allocations: 12.03 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.004103, allocations: 0.9375 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.004194, allocations: 120.3 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.004207, allocations: 4.375 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.004218, allocations: 384 / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.004367, allocations: 66.88 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.004375, allocations: 1.062 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.004383, allocations: 1.25 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.004392, allocations: 6.406 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.004417, allocations: 11.92 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.004684, allocations: 156.3 kB / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.091e-05/0.004755, allocations: 27.36 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.004775, allocations: 8.859 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.004795, allocations: 1.609 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.00482, allocations: 30.56 kB / 482.8 MB, free: 4.027 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/0.004823, allocations: 1.516 kB / 482.8 MB, free: 4.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001467/0.004969, allocations: 46.23 kB / 482.9 MB, free: 3.977 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.005011, allocations: 52.47 kB / 482.9 MB, free: 3.914 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.005088, allocations: 114.8 kB / 483.1 MB, free: 3.789 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.005101, allocations: 29.7 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.00514, allocations: 92.89 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.005163, allocations: 12.5 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.005193, allocations: 14.62 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.005288, allocations: 318.8 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.005306, allocations: 3.984 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.005318, allocations: 4.719 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.005348, allocations: 13.38 kB / 483.5 MB, free: 3.285 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00535, allocations: 5.094 kB / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.616e-05/0.005406, allocations: 43.09 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.005417, allocations: 4 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005423, allocations: 1.938 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.005435, allocations: 7.922 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.005522, allocations: 11.94 kB / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005525, allocations: 0 / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.005549, allocations: 12.73 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.005556, allocations: 4 kB / 483.6 MB, free: 3.195 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 (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.954e-05/0.005615, allocations: 106.7 kB / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.005631, allocations: 4 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.322e-05/0.005724, allocations: 50.33 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.005727, allocations: 3.938 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.005729, allocations: 1.25 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005732, allocations: 0 / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.843e-05/0.00582, allocations: 77.88 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.005823, allocations: 2.297 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.005858, allocations: 8 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.00586, allocations: 0.7812 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.005865, allocations: 3.938 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.005869, allocations: 4.828 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.00587, allocations: 0 / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.366e-05/0.005954, allocations: 139.5 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.005963, allocations: 8.578 kB / 484 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.005971, allocations: 0.625 kB / 484 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.006009, allocations: 7.984 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.006043, allocations: 0.625 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.006051, allocations: 12.56 kB / 484 MB, free: 2.727 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.662e-05/0.006067, allocations: 17.16 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006067, allocations: 0.625 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.006183, allocations: 8 kB / 484.1 MB, free: 2.699 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 (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 0.0001164/0.006299, allocations: 73.64 kB / 484.1 MB, free: 2.621 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.006372, allocations: 23 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.006375, allocations: 0 / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.006391, allocations: 10.64 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.006543, allocations: 19.56 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.006806, allocations: 125.8 kB / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.299e-05/0.006849, allocations: 64.23 kB / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.11e-05/0.00687, allocations: 4 kB / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.006921, allocations: 56.45 kB / 484.4 MB, free: 2.281 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.006922, allocations: 0 / 484.4 MB, free: 2.281 MB / 442.7 MB Notification: Performance of Templates: time 0.002383/0.009305, allocations: 0.6665 MB / 485.1 MB, free: 1.648 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6864564269781113]