Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000689/0.000689, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007011/0.0007011, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.805/0.805, allocations: 177.2 MB / 203.5 MB, free: 5.734 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-531:190: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-531:198: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.6755/0.6755, allocations: 154.5 MB / 414.5 MB, free: 0.8555 MB / 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.701e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001114/0.001131, allocations: 0.7556 MB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007382/0.001869, allocations: 0.886 MB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.001912, allocations: 0 / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.001942, allocations: 7.875 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.002017, allocations: 11.88 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.002177, allocations: 51.81 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.814e-05/0.002265, allocations: 79.83 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.00237, allocations: 23.92 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.002458, allocations: 47.94 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.002521, allocations: 39.89 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.002551, allocations: 8 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.002561, allocations: 8 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.002584, allocations: 19.91 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.002612, allocations: 31.91 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.002731, allocations: 95.7 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002733, allocations: 4 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.61e-07/0.002734, allocations: 0 / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002738, allocations: 0 / 0.6213 GB, free: 11.14 MB / 0.5886 GB 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.0004399/0.003178, allocations: 310.1 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.003213, allocations: 9.469 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.003246, allocations: 12.89 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.003347, allocations: 121.6 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.003364, allocations: 4.375 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.003378, allocations: 8.375 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.003571, allocations: 110.2 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.003581, allocations: 3.938 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.003591, allocations: 0 / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.003597, allocations: 4 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.003787, allocations: 91.91 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.004136, allocations: 276.3 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.00448, allocations: 122.5 kB / 0.6223 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/0.004575, allocations: 52.81 kB / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.004599, allocations: 11.86 kB / 0.6224 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.004614, allocations: 30.56 kB / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.004615, allocations: 4 kB / 0.6224 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003812/0.004996, allocations: 181.5 kB / 0.6226 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.005031, allocations: 55.41 kB / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.0051, allocations: 121.8 kB / 0.6228 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.005113, allocations: 25.7 kB / 0.6228 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.005154, allocations: 96.09 kB / 0.6229 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.005175, allocations: 19.78 kB / 0.6229 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.005208, allocations: 33.7 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.005283, allocations: 314.8 kB / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.895e-05/0.005372, allocations: 43.95 kB / 0.6233 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.005458, allocations: 55.89 kB / 0.6233 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.00563, allocations: 100.8 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005631, allocations: 0 / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002065/0.005838, allocations: 137.5 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.005849, allocations: 4 kB / 0.6235 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005853, allocations: 0 / 0.6235 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.005864, allocations: 0 / 0.6235 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.005937, allocations: 23.97 kB / 0.6236 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.005944, allocations: 16.48 kB / 0.6236 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.005991, allocations: 11.98 kB / 0.6236 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.005998, allocations: 4 kB / 0.6236 GB, free: 8.605 MB / 0.5886 GB 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 6.601e-05/0.006064, allocations: 122.8 kB / 0.6237 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.00608, allocations: 7.953 kB / 0.6237 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.006328, allocations: 150 kB / 0.6239 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.006329, allocations: 0 / 0.6239 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.006333, allocations: 3.938 kB / 0.6239 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.006336, allocations: 4 kB / 0.6239 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.006714, allocations: 137.2 kB / 0.624 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.006715, allocations: 0 / 0.624 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.006778, allocations: 27.91 kB / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.006779, allocations: 0 / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.006791, allocations: 3.984 kB / 0.624 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006792, allocations: 0 / 0.624 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.006793, allocations: 4 kB / 0.624 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.007019, allocations: 239.3 kB / 0.6243 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.007028, allocations: 7.891 kB / 0.6243 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.007043, allocations: 4 kB / 0.6243 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.007102, allocations: 7.984 kB / 0.6243 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.007164, allocations: 23.97 kB / 0.6243 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.007168, allocations: 4 kB / 0.6243 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.007207, allocations: 103.2 kB / 0.6244 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007207, allocations: 0 / 0.6244 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001422/0.007349, allocations: 12 kB / 0.6244 GB, free: 7.695 MB / 0.5886 GB 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 7.407e-05/0.007423, allocations: 99.17 kB / 0.6245 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.007654, allocations: 107.9 kB / 0.6246 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007656, allocations: 4 kB / 0.6246 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.007759, allocations: 59.88 kB / 0.6247 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.007955, allocations: 13.81 kB / 0.6247 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.008257, allocations: 195.3 kB / 0.6249 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.778e-05/0.008304, allocations: 75.33 kB / 0.625 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.008353, allocations: 16.5 kB / 0.625 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of SimCode: time 4.4e-07/0.008354, allocations: 0 / 0.625 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of Templates: time 0.001823/0.01018, allocations: 1.272 MB / 0.6262 GB, free: 5.812 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.627207009121776] Failed to read output from testmodel.py, exit status != 0: 0.014018905349075794 0.021997635 0.017730223 Calling exit ...