Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual.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.001451/0.001451, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001558/0.001558, allocations: 164.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.491/1.491, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 1.208/1.208, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 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 178] 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.LessEqual,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.984e-05, allocations: 4.656 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001863/0.001892, allocations: 0.7513 MB / 0.6193 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003247, allocations: 0.8781 MB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.0033, allocations: 0 / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.003337, allocations: 7.922 kB / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.003438, allocations: 15.86 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.003627, allocations: 43.83 kB / 0.6202 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.003766, allocations: 87.81 kB / 0.6203 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.003888, allocations: 15.98 kB / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.004048, allocations: 51.89 kB / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.004145, allocations: 35.89 kB / 0.6204 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.004175, allocations: 8 kB / 0.6204 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.004192, allocations: 8 kB / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.004223, allocations: 23.91 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.004276, allocations: 27.92 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.004444, allocations: 95.69 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004446, allocations: 0 / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.22e-07/0.004447, allocations: 0 / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.00445, allocations: 4 kB / 0.6205 GB, free: 2.609 MB / 0.5294 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.0007012/0.005151, allocations: 326 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.005195, allocations: 9.469 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.005239, allocations: 12.83 kB / 0.6209 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.005392, allocations: 113.7 kB / 0.621 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.005416, allocations: 8.359 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.005434, allocations: 8.375 kB / 0.621 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.005762, allocations: 113.8 kB / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.005774, allocations: 3.938 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.005786, allocations: 0 / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.005791, allocations: 0 / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.006184, allocations: 99.84 kB / 0.6212 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.006721, allocations: 276.3 kB / 0.6214 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.007378, allocations: 122.5 kB / 0.6216 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.007655, allocations: 56.8 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.007677, allocations: 0 / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.007706, allocations: 34.5 kB / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.007707, allocations: 4 kB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007316/0.008439, allocations: 185.5 kB / 0.6218 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.008486, allocations: 51.41 kB / 0.6219 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.008644, allocations: 123.9 kB / 0.622 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.008668, allocations: 29.64 kB / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.008737, allocations: 96.09 kB / 0.6221 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.008767, allocations: 23.78 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.008821, allocations: 21.72 kB / 0.6222 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.008982, allocations: 322.8 kB / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.009176, allocations: 47.95 kB / 0.6225 GB, free: 416 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.009354, allocations: 43.95 kB / 0.6226 GB, free: 372 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.009729, allocations: 96.77 kB / 0.6227 GB, free: 272 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.009731, allocations: 0 / 0.6227 GB, free: 272 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004304/0.01016, allocations: 133.6 kB / 0.6228 GB, free: 132 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01018, allocations: 4 kB / 0.6228 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01018, allocations: 0 / 0.6228 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01019, allocations: 0 / 0.6228 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.01036, allocations: 31.91 kB / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01037, allocations: 0 / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.01049, allocations: 19.97 kB / 0.6228 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.0105, allocations: 4 kB / 0.6228 GB, free: 72 kB / 0.5294 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,intLesEqu.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.0001372/0.01064, allocations: 118.8 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.01067, allocations: 3.953 kB / 0.623 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.0107, allocations: 12.44 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.0107, allocations: 3.984 kB / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.01071, allocations: 0 / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01071, allocations: 0 / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.0109, allocations: 137.2 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.0109, allocations: 7.938 kB / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.01106, allocations: 27.97 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01106, allocations: 0 / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.01108, allocations: 8 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01108, allocations: 0 / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.01108, allocations: 3.938 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.01157, allocations: 231.3 kB / 0.6234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.01158, allocations: 11.95 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.0116, allocations: 0 / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.01175, allocations: 19.91 kB / 0.6234 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.01184, allocations: 19.97 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.01185, allocations: 4 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.668e-05/0.01192, allocations: 95.27 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01192, allocations: 0 / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002288/0.01215, allocations: 15.94 kB / 0.6235 GB, free: 15.3 MB / 0.545 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 (intLesEqu.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.0001275/0.01228, allocations: 99.25 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.01275, allocations: 112.4 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01276, allocations: 0 / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.01297, allocations: 55.95 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.01327, allocations: 17.23 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.01372, allocations: 173.8 kB / 0.624 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.64e-05/0.0138, allocations: 75.33 kB / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.896e-05/0.01386, allocations: 8 kB / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.01393, allocations: 24.48 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01393, allocations: 0 / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of Templates: time 0.004876/0.0188, allocations: 1.69 MB / 0.6257 GB, free: 13.04 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.042418941855431] Failed to read output from testmodel.py, exit status != 0: 0.02794090285897255 0.044309449 0.036570383000000005 Calling exit ...