Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.0008055/0.0008055, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.00196, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008686/0.0008686, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001906/0.002774, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.068/1.068, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09399/1.162, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8151/0.8151, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2854/1.101, allocations: 49.12 MB / 448.4 MB, free: 6.035 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 449.7 MB, free: 4.688 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.622e-05, allocations: 3.609 kB / 449.7 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00159/0.001616, allocations: 0.871 MB / 450.6 MB, free: 3.855 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.002517, allocations: 0.9527 MB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.002559, allocations: 0 / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.00259, allocations: 11.81 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.479e-05/0.002655, allocations: 24.12 kB / 451.6 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.002782, allocations: 40.39 kB / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.002913, allocations: 120.1 kB / 451.8 MB, free: 2.723 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003013, allocations: 21.94 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.003206, allocations: 99.48 kB / 451.9 MB, free: 2.605 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.003284, allocations: 32.58 kB / 451.9 MB, free: 2.574 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.003301, allocations: 5.969 kB / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.395e-05/0.003365, allocations: 11.94 kB / 451.9 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.003381, allocations: 11.94 kB / 451.9 MB, free: 2.547 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.003406, allocations: 19.94 kB / 452 MB, free: 2.527 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.003535, allocations: 71.62 kB / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.003552, allocations: 0 / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003553, allocations: 0.5625 kB / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.00357, allocations: 0.625 kB / 452 MB, free: 2.457 MB / 426.7 MB 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.0004254/0.003996, allocations: 327.8 kB / 452.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.004032, allocations: 8.031 kB / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.004213, allocations: 94.03 kB / 452.4 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.004367, allocations: 149.6 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.004383, allocations: 6.375 kB / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.004395, allocations: 12.36 kB / 452.6 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.004528, allocations: 101.4 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.004537, allocations: 3.234 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.004545, allocations: 4.375 kB / 452.7 MB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004551, allocations: 2.5 kB / 452.7 MB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.895e-05/0.004589, allocations: 23.86 kB / 452.7 MB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.004893, allocations: 348.6 kB / 453.1 MB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/0.004989, allocations: 72.38 kB / 453.2 MB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.005018, allocations: 23.48 kB / 453.2 MB, free: 1.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.005042, allocations: 7.938 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.005066, allocations: 39.3 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.005068, allocations: 0 / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001654/0.005233, allocations: 79 kB / 453.3 MB, free: 1.035 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.005286, allocations: 104.3 kB / 453.4 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.005366, allocations: 159.7 kB / 453.6 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.005388, allocations: 33.7 kB / 453.6 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.005429, allocations: 101.5 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.005457, allocations: 21.95 kB / 453.7 MB, free: 0.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.005491, allocations: 29.69 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.005577, allocations: 318.8 kB / 454.1 MB, free: 232 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.005595, allocations: 8 kB / 454.1 MB, free: 224 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.005626, allocations: 34.55 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.005675, allocations: 44.16 kB / 454.1 MB, free: 128 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.005677, allocations: 0 / 454.1 MB, free: 128 kB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.676e-05/0.005754, allocations: 76.42 kB / 454.2 MB, free: 48 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.005769, allocations: 7.938 kB / 454.2 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.005774, allocations: 0.875 kB / 454.2 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005785, allocations: 4 kB / 454.2 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.005855, allocations: 12.52 kB / 454.2 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.00586, allocations: 4.625 kB / 454.2 MB, free: 20 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.005895, allocations: 15.89 kB / 454.3 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.005902, allocations: 4.625 kB / 454.3 MB, free: 0 / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.5e-05/0.005997, allocations: 118.6 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.00603, allocations: 9.203 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.006112, allocations: 61.95 kB / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.006117, allocations: 4 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.006119, allocations: 0.7188 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.006123, allocations: 0 / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.006278, allocations: 86.77 kB / 454.5 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006279, allocations: 0 / 454.5 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.006317, allocations: 19.92 kB / 454.6 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.006329, allocations: 12.91 kB / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.006331, allocations: 0 / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.00634, allocations: 13.11 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006341, allocations: 0 / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006342, allocations: 5.312 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.006493, allocations: 306.1 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.006511, allocations: 8 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.006583, allocations: 0.5 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.006643, allocations: 33.2 kB / 454.9 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.006648, allocations: 0 / 454.9 MB, free: 15.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.824e-05/0.006676, allocations: 40.06 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006676, allocations: 5.062 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.00684, allocations: 11.94 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.665e-05/0.006927, allocations: 86.45 kB / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.832e-05/0.007015, allocations: 45.75 kB / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.00702, allocations: 4 kB / 455.1 MB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.335e-05/0.007053, allocations: 30.8 kB / 455.1 MB, free: 15.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.007293, allocations: 21.7 kB / 455.2 MB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.007576, allocations: 205.8 kB / 455.4 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.848e-05/0.007625, allocations: 67.2 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.416e-05/0.007679, allocations: 20.45 kB / 455.5 MB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.007744, allocations: 67.38 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of SimCode: time 7.32e-07/0.007745, allocations: 0.6562 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of Templates: time 0.00296/0.0107, allocations: 1.236 MB / 456.8 MB, free: 13.5 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7129555037245154]