Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.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.0006491/0.0006491, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000714/0.000714, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.849/0.849, allocations: 177.2 MB / 203.5 MB, free: 5.746 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.6654/0.6654, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.288e-05, allocations: 8.688 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001155/0.001178, allocations: 0.7393 MB / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007514/0.001929, allocations: 0.8821 MB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.001966, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.001993, allocations: 11.92 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.002059, allocations: 19.81 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.0022, allocations: 43.88 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.002283, allocations: 79.81 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.002375, allocations: 19.94 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.881e-05/0.002454, allocations: 51.89 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.002516, allocations: 43.88 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.002541, allocations: 8 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.002553, allocations: 8 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.002574, allocations: 23.91 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.002601, allocations: 23.92 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.002713, allocations: 99.62 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002714, allocations: 0 / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002715, allocations: 4 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.00272, allocations: 0 / 0.6213 GB, free: 11.12 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.0003824/0.003102, allocations: 314.1 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.003135, allocations: 9.469 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.003162, allocations: 8.891 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.94e-05/0.003252, allocations: 117.7 kB / 0.6217 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.003267, allocations: 8.375 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.00328, allocations: 4.375 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.00346, allocations: 110.1 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.003468, allocations: 7.875 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.00348, allocations: 4 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.003486, allocations: 3.984 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.003673, allocations: 103.4 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.004028, allocations: 268.4 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.004365, allocations: 118.5 kB / 0.6223 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/0.004459, allocations: 52.81 kB / 0.6224 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.004479, allocations: 0 / 0.6224 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.004496, allocations: 34.56 kB / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.004497, allocations: 3.938 kB / 0.6224 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003665/0.004863, allocations: 185.4 kB / 0.6226 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.004894, allocations: 51.41 kB / 0.6226 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.463e-05/0.004969, allocations: 121.8 kB / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.004983, allocations: 33.7 kB / 0.6228 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.005029, allocations: 96.06 kB / 0.6229 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.005054, allocations: 23.8 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.00509, allocations: 25.7 kB / 0.6229 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.005169, allocations: 322.8 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.00526, allocations: 43.95 kB / 0.6233 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.005343, allocations: 43.95 kB / 0.6233 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.005518, allocations: 100.8 kB / 0.6234 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.005521, allocations: 0 / 0.6234 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002122/0.005733, allocations: 141.5 kB / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.005743, allocations: 4 kB / 0.6236 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005748, allocations: 0 / 0.6236 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.005757, allocations: 4 kB / 0.6236 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.005834, allocations: 23.97 kB / 0.6236 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.005839, allocations: 0.5469 kB / 0.6236 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/0.005894, allocations: 15.97 kB / 0.6236 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.005903, allocations: 4 kB / 0.6236 GB, free: 8.598 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,min1.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 7.381e-05/0.005977, allocations: 118.8 kB / 0.6237 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.005993, allocations: 3.953 kB / 0.6237 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.006254, allocations: 165.9 kB / 0.6239 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.006256, allocations: 0 / 0.6239 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.00626, allocations: 0 / 0.6239 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006263, allocations: 0 / 0.6239 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.006376, allocations: 137.2 kB / 0.624 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.006378, allocations: 4 kB / 0.624 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/0.006443, allocations: 35.91 kB / 0.624 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006445, allocations: 4 kB / 0.624 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.006453, allocations: 0 / 0.624 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006454, allocations: 0 / 0.624 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006454, allocations: 3.938 kB / 0.624 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.006687, allocations: 243.3 kB / 0.6243 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.006695, allocations: 3.953 kB / 0.6243 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.006706, allocations: 0 / 0.6243 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.055e-05/0.006766, allocations: 23.97 kB / 0.6243 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.006826, allocations: 23.97 kB / 0.6243 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.006831, allocations: 0 / 0.6243 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.006867, allocations: 98 kB / 0.6244 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.006867, allocations: 0 / 0.6244 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001478/0.007015, allocations: 12 kB / 0.6244 GB, free: 7.676 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 (min1.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 6.525e-05/0.00708, allocations: 95.25 kB / 0.6245 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.007295, allocations: 107.8 kB / 0.6246 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007296, allocations: 0 / 0.6246 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.505e-05/0.007392, allocations: 55.95 kB / 0.6247 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.007564, allocations: 10.28 kB / 0.6247 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.007844, allocations: 199.3 kB / 0.6249 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.007887, allocations: 79.33 kB / 0.625 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.007936, allocations: 20.48 kB / 0.625 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.007936, allocations: 0 / 0.625 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of Templates: time 0.00173/0.009666, allocations: 1.264 MB / 0.6262 GB, free: 5.797 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.763846220448613] Failed to read output from testmodel.py, exit status != 0: 0.014248196966946125 0.022054672 0.017039213 Calling exit ...