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.001336/0.001336, allocations: 92.7 kB / 19.44 MB, free: 324 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.001509/0.001509, allocations: 161.7 kB / 22.75 MB, free: 1.656 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 1.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.218/1.218, allocations: 154.8 MB / 414.3 MB, free: 464 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 178] 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 4.028e-06/4.028e-06, allocations: 4.812 kB / 0.5199 GB, free: 2.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.763e-05/4.166e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.227 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.003186/0.003227, allocations: 0.8084 MB / 0.5207 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.005213, allocations: 0.921 MB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.00528, allocations: 0 / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.89e-05/0.005329, allocations: 7.875 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.005466, allocations: 24.3 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.005721, allocations: 44.64 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.005944, allocations: 112.9 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.006069, allocations: 21.23 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.006353, allocations: 75.8 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.006483, allocations: 48.44 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.006521, allocations: 12 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.146e-05/0.006582, allocations: 13.81 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.006623, allocations: 23.91 kB / 0.522 GB, free: 148 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.0067, allocations: 35.91 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.007011, allocations: 127.7 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.007016, allocations: 1.625 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.007017, allocations: 0 / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.007023, allocations: 0 / 0.5221 GB, free: 15.98 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.001016/0.008039, allocations: 367 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.008094, allocations: 12.02 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004359/0.00853, allocations: 37.39 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.009251, allocations: 207.1 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.009291, allocations: 8.375 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.009325, allocations: 9.625 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.009742, allocations: 115.7 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.009753, allocations: 7.75 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.00977, allocations: 384 / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.009778, allocations: 8.125 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.01025, allocations: 71.92 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009141/0.01116, allocations: 440.8 kB / 0.5234 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.01159, allocations: 109.4 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.01184, allocations: 55.52 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.01187, allocations: 1.469 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.01193, allocations: 42.5 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.01193, allocations: 0 / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0009827/0.01291, allocations: 160.6 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.01303, allocations: 106.8 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.01326, allocations: 150.3 kB / 0.524 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.01332, allocations: 34.27 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.01344, allocations: 104.3 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.01349, allocations: 24.81 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.01358, allocations: 25.72 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002566/0.01383, allocations: 325 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.01407, allocations: 39.91 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.01444, allocations: 162.2 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.0149, allocations: 93.25 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.0149, allocations: 0 / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00065/0.01555, allocations: 150.8 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.01558, allocations: 6.344 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.01558, allocations: 0 / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/0.01562, allocations: 4 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.01583, allocations: 20.91 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.01584, allocations: 0.9375 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.01606, allocations: 24.58 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.01608, allocations: 4 kB / 0.5249 GB, free: 12.87 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 0.000176/0.01626, allocations: 122.7 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.01638, allocations: 30.47 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.01678, allocations: 86.31 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01679, allocations: 0 / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.01679, allocations: 0 / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.01681, allocations: 12.02 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.01742, allocations: 129.3 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01742, allocations: 3.125 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.01759, allocations: 19.98 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.0176, allocations: 7.938 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.01762, allocations: 3.984 kB / 0.5253 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/0.01763, allocations: 3.938 kB / 0.5253 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01763, allocations: 4 kB / 0.5253 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007579/0.01839, allocations: 371.8 kB / 0.5257 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.01842, allocations: 15.83 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.01846, allocations: 0 / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.01885, allocations: 27.34 kB / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.01896, allocations: 19.95 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.01897, allocations: 4 kB / 0.5257 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001406/0.01911, allocations: 114.3 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01911, allocations: 3.938 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006081/0.01972, allocations: 16 kB / 0.5259 GB, free: 11.84 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 0.0002019/0.01992, allocations: 98.75 kB / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006003/0.02052, allocations: 99.86 kB / 0.5261 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02052, allocations: 0 / 0.5261 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.02082, allocations: 51.89 kB / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.02168, allocations: 18.88 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.02241, allocations: 214.7 kB / 0.5263 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.02257, allocations: 88.3 kB / 0.5264 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.0227, allocations: 17.36 kB / 0.5264 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.0228, allocations: 20.5 kB / 0.5265 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.0228, allocations: 2.094 kB / 0.5265 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.006929/0.02973, allocations: 1.42 MB / 0.5278 GB, free: 9.844 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.822933068033308]