Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008683/0.0008683, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.000919/0.000919, allocations: 173 kB / 23.03 MB, free: 1.543 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.8935/0.8935, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7637/0.7637, allocations: 154.6 MB / 414.5 MB, free: 0.6758 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0.5469 kB / 0.5204 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.8e-05, allocations: 6.703 kB / 0.5204 GB, free: 2.16 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001238/0.001256, allocations: 0.8143 MB / 0.5212 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.002017, allocations: 0.9493 MB / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.002055, allocations: 0.8438 kB / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.002082, allocations: 7.875 kB / 0.5221 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.002151, allocations: 26.62 kB / 0.5222 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.002307, allocations: 43.92 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.803e-05/0.002405, allocations: 115.6 kB / 0.5223 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.923e-05/0.002474, allocations: 17.3 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.002623, allocations: 87.73 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.002676, allocations: 32.95 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.00269, allocations: 4 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.147e-05/0.002721, allocations: 12 kB / 0.5225 GB, free: 72 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.002735, allocations: 16.48 kB / 0.5225 GB, free: 56 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.002761, allocations: 32.47 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.002872, allocations: 71.69 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.002873, allocations: 0.9375 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002874, allocations: 0 / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.002877, allocations: 1.469 kB / 0.5226 GB, free: 15.95 MB / 0.4948 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.0003411/0.003218, allocations: 432.1 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.003247, allocations: 12.03 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.003366, allocations: 25.81 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.003498, allocations: 159.8 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.003514, allocations: 12.36 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.003524, allocations: 6.406 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.003655, allocations: 112.6 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.003662, allocations: 192 / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.00367, allocations: 384 / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.003678, allocations: 4.375 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/0.003727, allocations: 32.72 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.004114, allocations: 0.5608 MB / 0.5239 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.785e-05/0.004212, allocations: 114.2 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.004246, allocations: 36.56 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.004262, allocations: 7.938 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.00428, allocations: 37.38 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.004281, allocations: 0 / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001812/0.004462, allocations: 95.02 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.004498, allocations: 109.8 kB / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.004586, allocations: 201.9 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.0046, allocations: 29.7 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.004648, allocations: 150.9 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.004672, allocations: 31.73 kB / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.004705, allocations: 27.38 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.004805, allocations: 0.4923 MB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.004837, allocations: 19.92 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.074e-05/0.004888, allocations: 46.06 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/0.004943, allocations: 51.69 kB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004945, allocations: 0.9688 kB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.536e-05/0.00504, allocations: 89.78 kB / 0.5254 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.00505, allocations: 8.5 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.005053, allocations: 0 / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.005062, allocations: 1.031 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.005121, allocations: 15.98 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.005126, allocations: 9.156 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.005159, allocations: 7.953 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.005165, allocations: 3.984 kB / 0.5254 GB, free: 12.77 MB / 0.4948 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 5.891e-05/0.005224, allocations: 165.1 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.005263, allocations: 20.53 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.622e-05/0.005349, allocations: 61.47 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005351, allocations: 4 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.005355, allocations: 7.922 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005357, allocations: 0 / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.005506, allocations: 144.7 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.005508, allocations: 4 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.005536, allocations: 8 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.005539, allocations: 3.938 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.005547, allocations: 4.047 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.00555, allocations: 14.8 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005551, allocations: 0 / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.005711, allocations: 470.1 kB / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.00572, allocations: 7.953 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.005735, allocations: 3.938 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.005812, allocations: 8 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.005859, allocations: 23.95 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.005864, allocations: 8.422 kB / 0.5263 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.321e-05/0.005928, allocations: 152 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.005928, allocations: 0 / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001823/0.00611, allocations: 12 kB / 0.5265 GB, free: 11.61 MB / 0.4948 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 7.28e-05/0.006183, allocations: 105 kB / 0.5266 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.006291, allocations: 51.48 kB / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.006294, allocations: 4 kB / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.158e-05/0.006346, allocations: 34.36 kB / 0.5267 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.006683, allocations: 15.98 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.00697, allocations: 221.9 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.007012, allocations: 67.28 kB / 0.527 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.007058, allocations: 17.73 kB / 0.527 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.007094, allocations: 20.98 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.007095, allocations: 0.8438 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.002521/0.009616, allocations: 1.218 MB / 0.5282 GB, free: 9.871 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4572744290344417]