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.001296/0.001296, allocations: 78.8 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001399/0.001399, allocations: 164.1 kB / 22.45 MB, free: 5.367 MB / 14.72 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.425/1.425, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.152/1.152, allocations: 154.7 MB / 413.9 MB, free: 5.148 MB / 382.1 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 178] 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 2.404e-06/2.404e-06, allocations: 0 / 0.6188 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.857e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002022/0.002051, allocations: 0.8054 MB / 0.6196 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.003459, allocations: 0.9157 MB / 0.6205 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.003516, allocations: 4 kB / 0.6205 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.003559, allocations: 11.86 kB / 0.6205 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.003664, allocations: 15.8 kB / 0.6205 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.003909, allocations: 44.47 kB / 0.6206 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.004064, allocations: 117.7 kB / 0.6207 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.004187, allocations: 21.23 kB / 0.6207 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.004407, allocations: 75.81 kB / 0.6208 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.787e-05/0.004495, allocations: 47.81 kB / 0.6208 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.00452, allocations: 8 kB / 0.6208 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.373e-05/0.004574, allocations: 23.98 kB / 0.6208 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.004605, allocations: 23.91 kB / 0.6209 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.004651, allocations: 31.92 kB / 0.6209 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.004856, allocations: 131.5 kB / 0.621 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004858, allocations: 0 / 0.621 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004859, allocations: 0 / 0.621 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.004864, allocations: 0 / 0.621 GB, free: 2.211 MB / 0.5294 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.0007049/0.005569, allocations: 369.7 kB / 0.6214 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.005611, allocations: 16.03 kB / 0.6214 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.005868, allocations: 36.75 kB / 0.6214 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.006367, allocations: 193.7 kB / 0.6216 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.006396, allocations: 4.375 kB / 0.6216 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.006418, allocations: 12.38 kB / 0.6216 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.006718, allocations: 116.8 kB / 0.6217 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.006728, allocations: 4.125 kB / 0.6217 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.006743, allocations: 4.375 kB / 0.6217 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.00675, allocations: 4.125 kB / 0.6218 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.007028, allocations: 79.91 kB / 0.6218 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.007671, allocations: 432.8 kB / 0.6222 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.007947, allocations: 107.8 kB / 0.6223 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.008102, allocations: 58.53 kB / 0.6224 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.008134, allocations: 0 / 0.6224 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.008169, allocations: 38.5 kB / 0.6224 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.00817, allocations: 0 / 0.6224 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.000636/0.008806, allocations: 169.4 kB / 0.6226 GB, free: 448 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.008877, allocations: 102.8 kB / 0.6227 GB, free: 320 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.009009, allocations: 138.3 kB / 0.6228 GB, free: 172 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.009038, allocations: 37.69 kB / 0.6229 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.009118, allocations: 100.3 kB / 0.623 GB, free: 20 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.009173, allocations: 28.22 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.009233, allocations: 33.7 kB / 0.623 GB, free: 15.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.009384, allocations: 322.8 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.009541, allocations: 39.97 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.009765, allocations: 164.3 kB / 0.6235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.01003, allocations: 90.52 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01003, allocations: 0 / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000355/0.01039, allocations: 149.2 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01041, allocations: 4 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01041, allocations: 0 / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.01043, allocations: 4 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.01057, allocations: 23.86 kB / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01058, allocations: 4 kB / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.0107, allocations: 27.91 kB / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.01071, allocations: 0 / 0.6238 GB, free: 15.08 MB / 0.545 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.0001044/0.01082, allocations: 119.7 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.01089, allocations: 15.84 kB / 0.6239 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.01114, allocations: 94.25 kB / 0.624 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.01115, allocations: 8.031 kB / 0.624 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01115, allocations: 4 kB / 0.624 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01116, allocations: 0 / 0.624 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.0114, allocations: 133.4 kB / 0.6242 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.01141, allocations: 8.062 kB / 0.6242 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.01152, allocations: 23.91 kB / 0.6242 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01152, allocations: 3.938 kB / 0.6242 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.01153, allocations: 4 kB / 0.6242 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01154, allocations: 0 / 0.6242 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01154, allocations: 0 / 0.6242 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.01198, allocations: 378 kB / 0.6246 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.01201, allocations: 15.84 kB / 0.6246 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.01203, allocations: 8 kB / 0.6246 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.01223, allocations: 11.98 kB / 0.6246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.01237, allocations: 23.95 kB / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.01238, allocations: 3.984 kB / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001064/0.01248, allocations: 110.9 kB / 0.6247 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01248, allocations: 4 kB / 0.6247 GB, free: 14.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003121/0.01279, allocations: 16 kB / 0.6248 GB, free: 14.05 MB / 0.545 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.0001522/0.01295, allocations: 111.1 kB / 0.6249 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.01332, allocations: 91.86 kB / 0.6249 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01332, allocations: 0 / 0.6249 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.01349, allocations: 47.97 kB / 0.625 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.01394, allocations: 22.12 kB / 0.625 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.0144, allocations: 201.7 kB / 0.6252 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.0145, allocations: 88.3 kB / 0.6253 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.7e-05/0.01458, allocations: 16.77 kB / 0.6253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.01464, allocations: 24.5 kB / 0.6253 GB, free: 13.4 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.01464, allocations: 0 / 0.6253 GB, free: 13.4 MB / 0.545 GB Notification: Performance of Templates: time 0.004638/0.01927, allocations: 1.411 MB / 0.6267 GB, free: 12.03 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.632052985951304] Failed to read output from testmodel.py, exit status != 0: 0.02747475542128086 0.042662500000000006 0.034472839000000005 Calling exit ...