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.001296/0.001296, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.001372/0.001372, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.444/1.444, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.059/1.059, allocations: 175.8 MB / 479.1 MB, free: 3.414 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.001949/0.001949, allocations: 70.36 kB / 0.6663 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1986, allocations: 94.53 MB / 0.7586 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003506/0.2021, allocations: 2.044 MB / 0.7606 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.203, allocations: 0.5376 MB / 0.7612 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.2031, allocations: 7.938 kB / 0.7612 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.2033, allocations: 23.72 kB / 0.7612 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.2034, allocations: 51.56 kB / 0.7612 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.2036, allocations: 47.94 kB / 0.7613 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.2039, allocations: 183.2 kB / 0.7615 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.204, allocations: 58.3 kB / 0.7615 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.2042, allocations: 71.77 kB / 0.7616 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2043, allocations: 79.62 kB / 0.7617 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.2044, allocations: 12 kB / 0.7617 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.2044, allocations: 20 kB / 0.7617 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.2044, allocations: 39.83 kB / 0.7617 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.2045, allocations: 83.59 kB / 0.7618 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.2048, allocations: 167.2 kB / 0.762 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2048, allocations: 0 / 0.762 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2048, allocations: 0 / 0.762 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2048, allocations: 0 / 0.762 GB, free: 13.67 MB / 0.5762 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.0009743/0.2058, allocations: 0.4947 MB / 0.7624 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.2058, allocations: 12.03 kB / 0.7625 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.2059, allocations: 16.84 kB / 0.7625 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.2061, allocations: 208.1 kB / 0.7627 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-05/0.2062, allocations: 42.25 kB / 0.7627 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.2063, allocations: 12.38 kB / 0.7627 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.2068, allocations: 153.7 kB / 0.7629 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.2068, allocations: 7.984 kB / 0.7629 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2068, allocations: 4 kB / 0.7629 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2068, allocations: 4 kB / 0.7629 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.2074, allocations: 147.8 kB / 0.763 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009635/0.2083, allocations: 0.5309 MB / 0.7635 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.2088, allocations: 138.6 kB / 0.7637 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.2091, allocations: 72.81 kB / 0.7637 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.2091, allocations: 0 / 0.7637 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.2091, allocations: 30.56 kB / 0.7638 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.2091, allocations: 0 / 0.7638 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0007757/0.2099, allocations: 217.5 kB / 0.764 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.2099, allocations: 59.34 kB / 0.764 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2101, allocations: 161.2 kB / 0.7642 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2101, allocations: 29.7 kB / 0.7642 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.2102, allocations: 132.2 kB / 0.7643 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.2103, allocations: 47.58 kB / 0.7644 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.2103, allocations: 29.66 kB / 0.7644 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2105, allocations: 322.8 kB / 0.7647 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.2107, allocations: 63.94 kB / 0.7648 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.211, allocations: 86.52 kB / 0.7649 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.2114, allocations: 134.5 kB / 0.765 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2114, allocations: 3.938 kB / 0.765 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005233/0.2119, allocations: 196.9 kB / 0.7652 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.212, allocations: 4 kB / 0.7652 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.212, allocations: 3.984 kB / 0.7652 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.212, allocations: 0 / 0.7652 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.2122, allocations: 44.03 kB / 0.7652 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2122, allocations: 4 kB / 0.7652 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.2123, allocations: 27.86 kB / 0.7653 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.2124, allocations: 8 kB / 0.7653 GB, free: 10.02 MB / 0.5762 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.0001224/0.2125, allocations: 125.7 kB / 0.7654 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.2126, allocations: 15.91 kB / 0.7654 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.2126, allocations: 16.72 kB / 0.7654 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2126, allocations: 0 / 0.7654 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2126, allocations: 4 kB / 0.7654 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2127, allocations: 3.984 kB / 0.7654 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.2129, allocations: 241.5 kB / 0.7657 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2129, allocations: 0 / 0.7657 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.2131, allocations: 39.95 kB / 0.7657 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2131, allocations: 0 / 0.7657 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2132, allocations: 0 / 0.7657 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2132, allocations: 7.938 kB / 0.7657 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2132, allocations: 0 / 0.7657 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000789/0.2139, allocations: 339.6 kB / 0.766 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.214, allocations: 93.05 kB / 0.7661 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.214, allocations: 7.984 kB / 0.7661 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2142, allocations: 20.05 kB / 0.7661 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.2143, allocations: 15.97 kB / 0.7662 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.2143, allocations: 4 kB / 0.7662 GB, free: 9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.61e-05/0.2144, allocations: 115.9 kB / 0.7663 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2144, allocations: 0 / 0.7663 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002722/0.2146, allocations: 39.89 kB / 0.7663 GB, free: 8.848 MB / 0.5762 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.0001255/0.2148, allocations: 99.25 kB / 0.7664 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005338/0.2153, allocations: 143.8 kB / 0.7665 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2153, allocations: 0 / 0.7665 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.2155, allocations: 71.89 kB / 0.7666 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.2159, allocations: 31.98 kB / 0.7666 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.2168, allocations: 422.5 kB / 0.7671 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.2172, allocations: 0.7158 MB / 0.7678 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.2172, allocations: 19.44 kB / 0.7678 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2172, allocations: 0 / 0.7678 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of Templates: time 0.004005/0.2213, allocations: 1.813 MB / 0.7695 GB, free: 5.484 MB / 0.5762 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.069929795106873] Failed to read output from testmodel.py, exit status != 0: 0.22899428801611066 0.24261912999999996 0.035029773 Calling exit ...