Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001407/0.001407, allocations: 80.94 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.001487/0.001487, allocations: 181 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.091/1.091, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.8576/0.8576, allocations: 154.9 MB / 415.1 MB, free: 248 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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 480.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.451e-05, allocations: 4.844 kB / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001519/0.001544, allocations: 0.699 MB / 481.1 MB, free: 5.895 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.002694, allocations: 0.8888 MB / 482 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.002731, allocations: 1.203 kB / 482 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.002758, allocations: 3.938 kB / 482 MB, free: 4.992 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/0.002831, allocations: 6.766 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.002963, allocations: 23.97 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.003033, allocations: 42 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.61e-05/0.00311, allocations: 12.84 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.003196, allocations: 26.17 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.003248, allocations: 23.47 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.003269, allocations: 4 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.003277, allocations: 4 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.003297, allocations: 13.62 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.003318, allocations: 14.84 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.382e-05/0.003401, allocations: 39.67 kB / 482.2 MB, free: 4.809 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003403, allocations: 0 / 482.2 MB, free: 4.809 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.003406, allocations: 4.656 kB / 482.2 MB, free: 4.805 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.003409, allocations: 0 / 482.2 MB, free: 4.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003124/0.003721, allocations: 253.2 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.003753, allocations: 8.031 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.00378, allocations: 6 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.438e-05/0.003865, allocations: 113.7 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.003882, allocations: 4.375 kB / 482.5 MB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.003894, allocations: 5.281 kB / 482.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.004005, allocations: 67.62 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004013, allocations: 4.656 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.004022, allocations: 4.938 kB / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004027, allocations: 4.594 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.004056, allocations: 13.42 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.00429, allocations: 164.3 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.057e-05/0.004361, allocations: 34.5 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.004379, allocations: 11.39 kB / 482.8 MB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.004393, allocations: 5.375 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.004414, allocations: 34.56 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.004416, allocations: 0 / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001202/0.004537, allocations: 47.19 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.004569, allocations: 56.25 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.004628, allocations: 114.8 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.00464, allocations: 26.45 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.004671, allocations: 92.95 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.004686, allocations: 8.641 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.004714, allocations: 17.72 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.004809, allocations: 327.4 kB / 483.6 MB, free: 3.281 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.004833, allocations: 5.688 kB / 483.6 MB, free: 3.277 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.004846, allocations: 0 / 483.6 MB, free: 3.277 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.00488, allocations: 20.84 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.004882, allocations: 0.7656 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.386e-05/0.004946, allocations: 55.52 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.004956, allocations: 4 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.004961, allocations: 4 kB / 483.7 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.004972, allocations: 0 / 483.7 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.005048, allocations: 8.547 kB / 483.7 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.005051, allocations: 0.9062 kB / 483.7 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.00508, allocations: 9.766 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.005084, allocations: 0 / 483.7 MB, free: 3.172 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.033e-05/0.005144, allocations: 117.8 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.00516, allocations: 8.906 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.00518, allocations: 7.984 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.005183, allocations: 1.703 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.005184, allocations: 0.875 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.005187, allocations: 0.625 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.969e-05/0.005277, allocations: 85.83 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005278, allocations: 0.625 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.005306, allocations: 4.625 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.005308, allocations: 0 / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.005314, allocations: 4.562 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.005317, allocations: 7.984 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.005318, allocations: 8.547 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.434e-05/0.005413, allocations: 138.2 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.005421, allocations: 4 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.005431, allocations: 5.469 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.768e-05/0.005469, allocations: 11.98 kB / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.005507, allocations: 11.98 kB / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.00551, allocations: 0 / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.606e-05/0.005526, allocations: 17.73 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.005526, allocations: 0 / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001202/0.005646, allocations: 8 kB / 484.1 MB, free: 2.695 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.008e-05/0.005727, allocations: 77.42 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.634e-05/0.005793, allocations: 25.41 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.005795, allocations: 1.312 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.291e-05/0.005818, allocations: 16.86 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.005947, allocations: 7.984 kB / 484.2 MB, free: 2.559 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.006171, allocations: 127 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.006204, allocations: 59.34 kB / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.645e-05/0.006231, allocations: 5.344 kB / 484.4 MB, free: 2.328 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.006285, allocations: 55.94 kB / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006285, allocations: 0.75 kB / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of Templates: time 0.002515/0.0088, allocations: 0.9733 MB / 485.4 MB, free: 1.363 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.68736653868109]