Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 109.5 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.14/1.14, allocations: 173.4 MB / 471.3 MB, free: 6.617 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 68.39 kB / 0.6489 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1914, allocations: 89.53 MB / 0.7364 GB, free: 3.672 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00346/0.1949, allocations: 2.022 MB / 0.7384 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009494/0.1959, allocations: 0.5376 MB / 0.7389 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.196, allocations: 7.938 kB / 0.7389 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.1961, allocations: 19.78 kB / 0.7389 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.877e-05/0.1963, allocations: 39.58 kB / 0.7389 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1965, allocations: 59.86 kB / 0.739 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1968, allocations: 191.2 kB / 0.7392 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.1969, allocations: 66.31 kB / 0.7392 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1971, allocations: 71.77 kB / 0.7393 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1972, allocations: 79.62 kB / 0.7394 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.1973, allocations: 16 kB / 0.7394 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.164e-05/0.1973, allocations: 16 kB / 0.7394 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.1974, allocations: 35.84 kB / 0.7395 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1975, allocations: 79.59 kB / 0.7395 GB, free: 428 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1977, allocations: 175.2 kB / 0.7397 GB, free: 252 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1977, allocations: 4 kB / 0.7397 GB, free: 248 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1977, allocations: 0 / 0.7397 GB, free: 248 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.1977, allocations: 0 / 0.7397 GB, free: 248 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000874/0.1986, allocations: 494.6 kB / 0.7402 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1986, allocations: 8.031 kB / 0.7402 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.1987, allocations: 24.84 kB / 0.7402 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.199, allocations: 216 kB / 0.7404 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.199, allocations: 42.27 kB / 0.7404 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1991, allocations: 12.38 kB / 0.7405 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.1995, allocations: 157.7 kB / 0.7406 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1995, allocations: 0 / 0.7406 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1996, allocations: 4 kB / 0.7406 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1996, allocations: 8 kB / 0.7406 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.2001, allocations: 147.8 kB / 0.7408 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.2009, allocations: 0.527 MB / 0.7413 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.2014, allocations: 134.6 kB / 0.7414 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.2017, allocations: 80.75 kB / 0.7415 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.2017, allocations: 0 / 0.7415 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2017, allocations: 34.56 kB / 0.7415 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.2017, allocations: 3.938 kB / 0.7415 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0007533/0.2025, allocations: 225.4 kB / 0.7417 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.2026, allocations: 59.39 kB / 0.7418 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2027, allocations: 150.2 kB / 0.7419 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.2027, allocations: 25.7 kB / 0.742 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2029, allocations: 132.2 kB / 0.7421 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.2029, allocations: 39.64 kB / 0.7421 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.203, allocations: 33.7 kB / 0.7422 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2032, allocations: 326.8 kB / 0.7425 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.2034, allocations: 55.95 kB / 0.7425 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.2036, allocations: 88.2 kB / 0.7426 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.204, allocations: 141.7 kB / 0.7427 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.204, allocations: 3.938 kB / 0.7427 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005099/0.2046, allocations: 197.4 kB / 0.7429 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2046, allocations: 4 kB / 0.7429 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2046, allocations: 0 / 0.7429 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2046, allocations: 4 kB / 0.7429 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.2048, allocations: 35.91 kB / 0.743 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.2048, allocations: 7.984 kB / 0.743 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.205, allocations: 31.97 kB / 0.743 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.205, allocations: 4 kB / 0.743 GB, free: 12.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.000128/0.2051, allocations: 125.1 kB / 0.7431 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.2052, allocations: 15.91 kB / 0.7432 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.2052, allocations: 28.69 kB / 0.7432 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2052, allocations: 0 / 0.7432 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2053, allocations: 4 kB / 0.7432 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2053, allocations: 0 / 0.7432 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.2056, allocations: 245.4 kB / 0.7434 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2056, allocations: 7.938 kB / 0.7434 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.2058, allocations: 31.97 kB / 0.7435 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2058, allocations: 3.938 kB / 0.7435 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.2058, allocations: 4 kB / 0.7435 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2058, allocations: 4 kB / 0.7435 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2058, allocations: 0 / 0.7435 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007879/0.2066, allocations: 339.6 kB / 0.7438 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.2067, allocations: 93.03 kB / 0.7439 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2067, allocations: 0 / 0.7439 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.2069, allocations: 23.92 kB / 0.7439 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.207, allocations: 16.03 kB / 0.7439 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.207, allocations: 11.94 kB / 0.7439 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.751e-05/0.2071, allocations: 111.2 kB / 0.744 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.304e-06/0.2071, allocations: 0 / 0.744 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002696/0.2074, allocations: 43.83 kB / 0.7441 GB, free: 11.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001294/0.2075, allocations: 99.25 kB / 0.7442 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.208, allocations: 143.8 kB / 0.7443 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.208, allocations: 0 / 0.7443 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.2083, allocations: 79.88 kB / 0.7444 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.2086, allocations: 18.12 kB / 0.7444 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008234/0.2094, allocations: 434.6 kB / 0.7448 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.2098, allocations: 0.7119 MB / 0.7455 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.2099, allocations: 15.44 kB / 0.7455 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.2099, allocations: 0 / 0.7455 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of Templates: time 0.003917/0.2138, allocations: 1.812 MB / 0.7473 GB, free: 8.043 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.001892742002383] Failed to read output from testmodel.py, exit status != 0: 0.22048180690035224 0.23397393899999996 0.03367943 Calling exit ...