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.001272/0.001272, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001707/0.001707, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9844/0.9844, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.7585/0.7585, allocations: 154.9 MB / 415.1 MB, free: 280 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 2.905e-06/2.905e-06, allocations: 0 / 0.5212 GB, free: 1.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/3.004e-05, allocations: 3.031 kB / 0.5212 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002574/0.002604, allocations: 0.8182 MB / 0.522 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.004125, allocations: 0.9378 MB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.004192, allocations: 0 / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.00423, allocations: 15.77 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.004341, allocations: 23.67 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.004588, allocations: 39.95 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.004726, allocations: 119.6 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004833, allocations: 17.3 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.005059, allocations: 87.73 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.00514, allocations: 36.45 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.005159, allocations: 4.562 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.88e-05/0.005207, allocations: 8.875 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.005231, allocations: 27.84 kB / 0.5233 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.00526, allocations: 15.94 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.005401, allocations: 81.06 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.005403, allocations: 0 / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.005404, allocations: 0 / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.005408, allocations: 0 / 0.5234 GB, free: 15.29 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.0004407/0.005848, allocations: 433 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.00589, allocations: 9.188 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.006052, allocations: 24.83 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.006223, allocations: 163.6 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.006238, allocations: 5.781 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.006252, allocations: 8.375 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.006415, allocations: 106 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.006423, allocations: 192 / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.006433, allocations: 5.188 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.00644, allocations: 8.359 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.039e-05/0.006491, allocations: 25.14 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.00704, allocations: 0.5294 MB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.00716, allocations: 106.6 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.007202, allocations: 43.84 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.007224, allocations: 0 / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.007249, allocations: 43.08 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.00725, allocations: 0 / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002348/0.007485, allocations: 95.59 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.007533, allocations: 106.8 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.007647, allocations: 197.8 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.007668, allocations: 33.7 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.007735, allocations: 150.8 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.007768, allocations: 23.78 kB / 0.5254 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.007813, allocations: 34.11 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.007952, allocations: 0.4923 MB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.00798, allocations: 8 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-05/0.008027, allocations: 43.05 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/0.008098, allocations: 58.97 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.0081, allocations: 0 / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001276/0.008227, allocations: 90.48 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.008241, allocations: 7.938 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.008246, allocations: 0.9375 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.008257, allocations: 0 / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.008326, allocations: 16.86 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.008329, allocations: 4 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.008381, allocations: 4.5 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.008389, allocations: 4.281 kB / 0.5261 GB, free: 12.17 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 8.912e-05/0.008479, allocations: 162.4 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/0.008546, allocations: 27.83 kB / 0.5263 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.008652, allocations: 61.95 kB / 0.5264 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.008655, allocations: 4.594 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.008657, allocations: 0 / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.008661, allocations: 4.562 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.008912, allocations: 126.6 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008913, allocations: 0 / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.008953, allocations: 8 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.008955, allocations: 0 / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.008964, allocations: 10.42 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.008968, allocations: 7.938 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.00897, allocations: 0 / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.009199, allocations: 458.1 kB / 0.527 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.009212, allocations: 11.94 kB / 0.527 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.009233, allocations: 8 kB / 0.527 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.009369, allocations: 6.812 kB / 0.527 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.009429, allocations: 23.95 kB / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.009438, allocations: 7.984 kB / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.0095, allocations: 150.4 kB / 0.5272 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.0095, allocations: 0 / 0.5272 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003619/0.009862, allocations: 12 kB / 0.5272 GB, free: 11.04 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 9.857e-05/0.00996, allocations: 104 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.01007, allocations: 48.89 kB / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.01007, allocations: 4 kB / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.01012, allocations: 34.3 kB / 0.5274 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.01057, allocations: 11.98 kB / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.01112, allocations: 225.8 kB / 0.5276 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.455e-05/0.01117, allocations: 63.34 kB / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.013e-05/0.01124, allocations: 17.45 kB / 0.5277 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.01132, allocations: 83.69 kB / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01132, allocations: 0 / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.003476/0.0148, allocations: 1.263 MB / 0.529 GB, free: 9.195 MB / 0.4948 GB " [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.595348361879587]