Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04914/0.04914, allocations: 9.129 MB / 28.99 MB, free: 0.8164 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001416/0.001416, allocations: 91.16 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001171/0.001171, allocations: 167.9 kB / 38.73 MB, free: 2.508 MB / 24.77 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.9564/0.9564, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003932/0.003932, allocations: 0.8255 MB / 276.5 MB, free: 0.7539 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.593/1.593, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.126e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002248/0.00228, allocations: 0.8429 MB / 0.6387 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003661, allocations: 0.9325 MB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.003734, allocations: 4 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 4.329e-05/0.003778, allocations: 15.8 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.003901, allocations: 19.73 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.004157, allocations: 47.89 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.00431, allocations: 119.6 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.004411, allocations: 17.95 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.004665, allocations: 91.73 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.004749, allocations: 35.83 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.004768, allocations: 4 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.004816, allocations: 8 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.00484, allocations: 19.92 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.004873, allocations: 19.92 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.005031, allocations: 87.59 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.005034, allocations: 0 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.443e-06/0.005036, allocations: 0 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.00504, allocations: 0 / 0.6401 GB, free: 11.79 MB / 0.6043 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.0004629/0.005503, allocations: 308.4 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.005549, allocations: 11.98 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.00575, allocations: 16.92 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.00596, allocations: 157.4 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.005982, allocations: 8.375 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.006, allocations: 4.375 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.006181, allocations: 101.5 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.00619, allocations: 192 / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.006201, allocations: 8.312 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.006208, allocations: 4.375 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.502e-05/0.006264, allocations: 27.84 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.00663, allocations: 352.5 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.006751, allocations: 71.72 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.006789, allocations: 38.69 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.006808, allocations: 0 / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.006836, allocations: 34.56 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.006837, allocations: 0 / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0002134/0.00705, allocations: 77.48 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.007103, allocations: 106.8 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.007212, allocations: 146.5 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.007237, allocations: 33.95 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.007284, allocations: 100.1 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.007317, allocations: 27.78 kB / 0.6417 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.007365, allocations: 25.7 kB / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.007467, allocations: 322.8 kB / 0.642 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.007495, allocations: 8 kB / 0.642 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-05/0.007536, allocations: 34.55 kB / 0.642 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.007605, allocations: 46.66 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007607, allocations: 0 / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001192/0.007726, allocations: 69.61 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.007743, allocations: 11.94 kB / 0.6422 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.007748, allocations: 4 kB / 0.6422 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.007762, allocations: 0 / 0.6422 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.007844, allocations: 11.98 kB / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007847, allocations: 0 / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.007898, allocations: 11.95 kB / 0.6422 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.007908, allocations: 7.938 kB / 0.6422 GB, free: 9.414 MB / 0.6043 GB 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 8.682e-05/0.007995, allocations: 125.8 kB / 0.6423 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.008059, allocations: 4 kB / 0.6423 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.008167, allocations: 69.89 kB / 0.6424 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.00817, allocations: 64 / 0.6424 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.008176, allocations: 8 kB / 0.6424 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.008179, allocations: 0 / 0.6424 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.00843, allocations: 81.88 kB / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.008432, allocations: 0 / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.008482, allocations: 15.92 kB / 0.6425 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008485, allocations: 0 / 0.6425 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.008495, allocations: 8 kB / 0.6425 GB, free: 9.074 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008497, allocations: 0 / 0.6425 GB, free: 9.074 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.0085, allocations: 3.938 kB / 0.6425 GB, free: 9.07 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.008954, allocations: 310 kB / 0.6428 GB, free: 8.75 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.008972, allocations: 11.94 kB / 0.6428 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.008997, allocations: 8 kB / 0.6428 GB, free: 8.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.009139, allocations: 4 kB / 0.6428 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.009203, allocations: 23.89 kB / 0.6429 GB, free: 8.703 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.009213, allocations: 8 kB / 0.6429 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.009251, allocations: 32.81 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009251, allocations: 0 / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003366/0.009588, allocations: 19.95 kB / 0.6429 GB, free: 8.641 MB / 0.6043 GB 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 0.0001323/0.00972, allocations: 80.42 kB / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.009835, allocations: 48.98 kB / 0.643 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.00984, allocations: 4 kB / 0.643 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.009886, allocations: 25.11 kB / 0.6431 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.01028, allocations: 19.92 kB / 0.6431 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.01065, allocations: 206.8 kB / 0.6433 GB, free: 8.211 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.887e-05/0.01071, allocations: 63.34 kB / 0.6433 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 7.195e-05/0.01078, allocations: 20.72 kB / 0.6434 GB, free: 8.109 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.01086, allocations: 67.36 kB / 0.6434 GB, free: 8.043 MB / 0.6043 GB Notification: Performance of SimCode: time 6.51e-07/0.01086, allocations: 3.938 kB / 0.6434 GB, free: 8.039 MB / 0.6043 GB Notification: Performance of Templates: time 0.003744/0.01461, allocations: 1.215 MB / 0.6446 GB, free: 6.828 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.360567974857986]