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.0007882/0.0007882, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009133/0.0009133, allocations: 177 kB / 23.36 MB, free: 1.133 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.9649/0.9649, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.7899/0.7899, allocations: 154.9 MB / 415.1 MB, free: 256 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.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.483e-06/1.483e-06, allocations: 0 / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.113e-05, allocations: 5.328 kB / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001394/0.001416, allocations: 0.8254 MB / 481.2 MB, free: 5.727 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009999/0.002415, allocations: 0.9391 MB / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.002467, allocations: 0.6562 kB / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.002502, allocations: 13.17 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.632e-05/0.002598, allocations: 27.02 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.002802, allocations: 49.33 kB / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.002965, allocations: 117.5 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.003055, allocations: 22.94 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.003244, allocations: 87.73 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.00331, allocations: 36.45 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.003327, allocations: 9.25 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.916e-05/0.003366, allocations: 8 kB / 482.6 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.003383, allocations: 15.91 kB / 482.6 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.003407, allocations: 23.94 kB / 482.6 MB, free: 4.398 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003518, allocations: 72.19 kB / 482.7 MB, free: 4.328 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00352, allocations: 3 kB / 482.7 MB, free: 4.328 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003521, allocations: 0 / 482.7 MB, free: 4.328 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.003524, allocations: 0 / 482.7 MB, free: 4.328 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003124/0.003836, allocations: 315.4 kB / 483 MB, free: 3.996 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.003871, allocations: 8.031 kB / 483 MB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.003991, allocations: 24.91 kB / 483 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.004138, allocations: 153.6 kB / 483.2 MB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.004155, allocations: 5.062 kB / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.004169, allocations: 8.375 kB / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.004361, allocations: 101.1 kB / 483.3 MB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.004369, allocations: 4.188 kB / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004376, allocations: 2.25 kB / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.004382, allocations: 384 / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.425e-05/0.004416, allocations: 19.92 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.004697, allocations: 356.5 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.004784, allocations: 81.25 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.004809, allocations: 23.62 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.004829, allocations: 6.25 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.004853, allocations: 46.5 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.004854, allocations: 0.75 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.000151/0.005005, allocations: 70.61 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.005051, allocations: 107.5 kB / 484 MB, free: 2.871 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.005126, allocations: 154.6 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.005142, allocations: 26.64 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.005175, allocations: 100.1 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.005198, allocations: 23.78 kB / 484.3 MB, free: 2.551 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.005229, allocations: 26.42 kB / 484.3 MB, free: 2.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.005307, allocations: 322.8 kB / 484.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.005325, allocations: 13.14 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.005351, allocations: 34.5 kB / 484.7 MB, free: 2.141 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.005397, allocations: 40.48 kB / 484.7 MB, free: 2.094 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005399, allocations: 4 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.319e-05/0.005472, allocations: 70.31 kB / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.005483, allocations: 7.938 kB / 484.8 MB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.005489, allocations: 4.766 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.005501, allocations: 7.938 kB / 484.8 MB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.17e-05/0.005553, allocations: 8.844 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.005556, allocations: 0 / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.005586, allocations: 8.609 kB / 484.8 MB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.005592, allocations: 5.016 kB / 484.8 MB, free: 1.977 MB / 442.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 5.704e-05/0.005649, allocations: 117.8 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.005816, allocations: 8.75 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.896e-05/0.005895, allocations: 71.95 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005897, allocations: 0.875 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005899, allocations: 0 / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005902, allocations: 0.625 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.006042, allocations: 89.8 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006044, allocations: 4.625 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.006069, allocations: 8.625 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006071, allocations: 0 / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.006077, allocations: 4.562 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.00608, allocations: 7.984 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.006083, allocations: 8.562 kB / 485.1 MB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.006198, allocations: 310.7 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.00621, allocations: 12.5 kB / 485.4 MB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.006225, allocations: 4 kB / 485.4 MB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.006297, allocations: 4.812 kB / 485.4 MB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.006346, allocations: 27.89 kB / 485.5 MB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.006351, allocations: 5.766 kB / 485.5 MB, free: 1.254 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.522e-05/0.006377, allocations: 40.69 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006377, allocations: 0 / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.006541, allocations: 12 kB / 485.5 MB, free: 1.203 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 7.497e-05/0.006616, allocations: 85.56 kB / 485.6 MB, free: 1.113 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.527e-05/0.006701, allocations: 47.16 kB / 485.7 MB, free: 1.066 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.006703, allocations: 1 kB / 485.7 MB, free: 1.066 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.062e-05/0.006734, allocations: 25.94 kB / 485.7 MB, free: 1.039 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.006949, allocations: 21.5 kB / 485.7 MB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.007185, allocations: 200.4 kB / 485.9 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.117e-05/0.007226, allocations: 63.34 kB / 486 MB, free: 0.707 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.007272, allocations: 18.55 kB / 486 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.00733, allocations: 67.36 kB / 486.1 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.00733, allocations: 0 / 486.1 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of Templates: time 0.002523/0.009853, allocations: 1.212 MB / 487.3 MB, free: 15.5 MB / 458.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.5925863622687757]